Mercurial > flash_v2
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 1222:f0bd64ec9405 | 1223:dbcfe4e0dbd2 |
|---|---|
| 92 bool flash_get_config(char *key, void *val, int type); | 92 bool flash_get_config(char *key, void *val, int type); |
| 93 // Add a new data item to configuration data base. Returns 'false' | 93 // Add a new data item to configuration data base. Returns 'false' |
| 94 // if no space is available. | 94 // if no space is available. |
| 95 bool flash_add_config(struct config_option *opt, bool update); | 95 bool flash_add_config(struct config_option *opt, bool update); |
| 96 | 96 |
| 97 // Internal structure used to hold config data | |
| 98 struct _config { | |
| 99 unsigned long len; | |
| 100 unsigned long key1; | |
| 101 unsigned char config_data[MAX_CONFIG_DATA-(4*4)]; | |
| 102 unsigned long key2; | |
| 103 unsigned long cksum; | |
| 104 }; | |
| 105 | |
| 97 #endif // _FLASH_CONFIG_H_ | 106 #endif // _FLASH_CONFIG_H_ |
