changeset 652:d42534e5ac02

loadtools: discontig.h split out of flash.h
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 02 Mar 2020 03:49:31 +0000
parents 6bb41b4d39ed
children 2d5d1ca58b2a
files loadtools/discontig.h loadtools/flash.h loadtools/flprogsrec.c
diffstat 3 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/loadtools/discontig.h	Mon Mar 02 03:49:31 2020 +0000
@@ -0,0 +1,7 @@
+/* support for flashing or XRAM-loading discontiguous S-record images */
+
+struct discontig_prog {
+	uint32_t	start;
+	uint32_t	end;
+	uint32_t	crc;
+};
--- a/loadtools/flash.h	Mon Mar 02 03:39:46 2020 +0000
+++ b/loadtools/flash.h	Mon Mar 02 03:49:31 2020 +0000
@@ -71,11 +71,3 @@
 	struct sector_info	*sectors;
 	int			detect_done;
 };
-
-/* support for flashing discontiguous S-record images */
-
-struct discontig_prog {
-	uint32_t	start;
-	uint32_t	end;
-	uint32_t	crc;
-};
--- a/loadtools/flprogsrec.c	Mon Mar 02 03:39:46 2020 +0000
+++ b/loadtools/flprogsrec.c	Mon Mar 02 03:49:31 2020 +0000
@@ -9,6 +9,7 @@
 #include <stdlib.h>
 #include <time.h>
 #include "flash.h"
+#include "discontig.h"
 #include "srecreader.h"
 
 extern struct flash_bank_info flash_bank_info[2];