diff options
author | Jon Loeliger <jdl@freescale.com> | 2007-07-10 11:02:44 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-07-10 11:02:44 -0500 |
commit | 902531788376046da212afd1661cffb62f3daa1c (patch) | |
tree | 7f9cfaa882284962ae28db98e2317b2a8b10cc8b /common/cmd_eeprom.c | |
parent | d39b57415838c73fb0a37eca84de3c68ba990586 (diff) |
common/: Remove lingering references to CFG_CMD_* symbols.
Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
Those always evaluated TRUE, and thus were always compiled
even when IDE really wasn't defined/wanted.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'common/cmd_eeprom.c')
-rw-r--r-- | common/cmd_eeprom.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/common/cmd_eeprom.c b/common/cmd_eeprom.c index d6fb9ab748c..e5000e9ff39 100644 --- a/common/cmd_eeprom.c +++ b/common/cmd_eeprom.c @@ -110,7 +110,7 @@ int do_eeprom ( cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) printf ("Usage:\n%s\n", cmdtp->usage); return 1; } -#endif /* CFG_CMD_EEPROM */ +#endif /*----------------------------------------------------------------------- * @@ -422,7 +422,8 @@ void eeprom_init (void) } /*----------------------------------------------------------------------- */ -#endif /* CFG_CMD_EEPROM */ +#endif + /***************************************************/ #if defined(CONFIG_CMD_EEPROM) @@ -445,4 +446,4 @@ U_BOOT_CMD( ); #endif /* CFG_I2C_MULTI_EEPROMS */ -#endif /* CFG_CMD_EEPROM */ +#endif |