changeset 655:a880f48d6ac0

loadtools: MAX_SREC_REGIONS def moved into discontig.h
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 02 Mar 2020 23:33:37 +0000
parents 39b39b546824
children 9f5a3e9e6294
files loadtools/discontig.h loadtools/flprogsrec.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/loadtools/discontig.h	Mon Mar 02 23:24:43 2020 +0000
+++ b/loadtools/discontig.h	Mon Mar 02 23:33:37 2020 +0000
@@ -1,5 +1,7 @@
 /* support for flashing or XRAM-loading discontiguous S-record images */
 
+#define	MAX_SREC_REGIONS	256
+
 struct discontig_prog {
 	uint32_t	start;
 	uint32_t	end;
--- a/loadtools/flprogsrec.c	Mon Mar 02 23:24:43 2020 +0000
+++ b/loadtools/flprogsrec.c	Mon Mar 02 23:33:37 2020 +0000
@@ -15,8 +15,6 @@
 extern struct flash_bank_info flash_bank_info[2];
 extern uint32_t crc32_table[];
 
-#define	MAX_SREC_REGIONS	256
-
 read_srec_img_for_flash(imgfile, is_m0, bank_size, reglistp, regcountp,
 			totalp, tmpfilep)
 	char *imgfile;