Merged in RAMTRON update

This commit is contained in:
Lorenz Meier
2013-07-28 14:57:19 +02:00
3 changed files with 12 additions and 0 deletions
Binary file not shown.
+1
View File
@@ -39,6 +39,7 @@ MODULES += modules/sensors
# System commands
#
MODULES += systemcmds/eeprom
MODULES += systemcmds/ramtron
MODULES += systemcmds/bl_update
MODULES += systemcmds/boardinfo
MODULES += systemcmds/i2c
+11
View File
@@ -63,6 +63,15 @@
__EXPORT int ramtron_main(int argc, char *argv[]);
#ifndef CONFIG_MTD_RAMTRON
/* create a fake command with decent message to not confuse users */
int ramtron_main(int argc, char *argv[])
{
errx(1, "RAMTRON not enabled, skipping.");
}
#else
static void ramtron_attach(void);
static void ramtron_start(void);
static void ramtron_erase(void);
@@ -266,3 +275,5 @@ ramtron_test(void)
// at24c_test();
exit(0);
}
#endif