diff packages/redboot/current/include/flash_config.h @ 1223:dbcfe4e0dbd2

New platform - TAMS MOAB - and generic changes to support it
author gthomas
date Fri, 19 Sep 2003 17:11:18 +0000
parents 23fd347aba65
children 077fd39935a2
line wrap: on
line diff
--- a/packages/redboot/current/include/flash_config.h
+++ b/packages/redboot/current/include/flash_config.h
@@ -94,4 +94,13 @@ bool flash_get_config(char *key, void *v
 // if no space is available.
 bool flash_add_config(struct config_option *opt, bool update);
 
+// Internal structure used to hold config data
+struct _config {
+    unsigned long len;
+    unsigned long key1;
+    unsigned char config_data[MAX_CONFIG_DATA-(4*4)];
+    unsigned long key2;
+    unsigned long cksum;
+};
+
 #endif // _FLASH_CONFIG_H_