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_i2c.c | |
parent | d39b57415838c73fb0a37eca84de3c68ba990586 (diff) | |
download | bootable_bootloader_goldelico_gta04-902531788376046da212afd1661cffb62f3daa1c.zip bootable_bootloader_goldelico_gta04-902531788376046da212afd1661cffb62f3daa1c.tar.gz bootable_bootloader_goldelico_gta04-902531788376046da212afd1661cffb62f3daa1c.tar.bz2 |
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_i2c.c')
-rw-r--r-- | common/cmd_i2c.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c index 6aeeb84..a684a58 100644 --- a/common/cmd_i2c.c +++ b/common/cmd_i2c.c @@ -877,7 +877,7 @@ int do_sdram ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) return 0; } -#endif /* CFG_CMD_SDRAM */ +#endif #if defined(CONFIG_I2C_CMD_TREE) #if defined(CONFIG_I2C_MULTI_BUS) @@ -941,7 +941,7 @@ int do_i2c(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) #if defined(CONFIG_CMD_SDRAM) if (!strncmp(argv[1], "sd", 2)) return do_sdram(cmdtp, flag, --argc, ++argv); -#endif /* CFG_CMD_SDRAM */ +#endif else printf ("Usage:\n%s\n", cmdtp->usage); return 0; @@ -967,7 +967,7 @@ U_BOOT_CMD( "i2c loop chip address[.0, .1, .2] [# of objects] - looping read of device\n" #if defined(CONFIG_CMD_SDRAM) "i2c sdram chip - print SDRAM configuration information\n" -#endif /* CFG_CMD_SDRAM */ +#endif ); #endif /* CONFIG_I2C_CMD_TREE */ U_BOOT_CMD( @@ -1025,4 +1025,4 @@ U_BOOT_CMD( ); #endif -#endif /* CFG_CMD_I2C */ +#endif |