summaryrefslogtreecommitdiff
path: root/include/configs/TQM8272.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-10 09:22:23 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-10 09:22:23 -0500
commita1aa0bb502e25fd598b5e0ccdfb2c174921d714a (patch)
treecf693fa7db5aa00fc6133c6d8cb1f726fee04082 /include/configs/TQM8272.h
parent659e2f6736232a08acca8785c206e2b4d9cd07d7 (diff)
include/configs/[P-Z]*: Cleanup BOOTP and lingering CFG_CMD_*.
Explicitly add in default CONFIG_BOOTP_* options where cmd_confdefs.h used to be included but CONFIG_BOOTP_MASK was not defined. Remove lingering references to CFG_CMD_* symbols. Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/TQM8272.h')
-rw-r--r--include/configs/TQM8272.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/include/configs/TQM8272.h b/include/configs/TQM8272.h
index 05e2e9ac188..50f67524fde 100644
--- a/include/configs/TQM8272.h
+++ b/include/configs/TQM8272.h
@@ -97,10 +97,6 @@
/* enable I2C and select the hardware/software driver */
#undef CONFIG_HARD_I2C /* I2C with hardware support */
#define CONFIG_SOFT_I2C 1 /* I2C bit-banged */
-#define ADD_CMD_I2C CFG_CMD_I2C | \
- CFG_CMD_DATE |\
- CFG_CMD_DTT |\
- CFG_CMD_EEPROM
#define CFG_I2C_SPEED 400000 /* I2C speed and slave address */
#define CFG_I2C_SLAVE 0x7F
@@ -140,7 +136,6 @@
#else
#undef CONFIG_HARD_I2C
#undef CONFIG_SOFT_I2C
-#define ADD_CMD_I2C 0
#endif
/*
@@ -295,6 +290,13 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_SNTP
+#if CONFIG_I2C
+ #define CONFIG_CMD_I2C
+ #define CONFIG_CMD_DATE
+ #define CONFIG_CMD_DTT
+ #define CONFIG_CMD_EEPROM
+#endif
+
/*
* Miscellaneous configurable options
@@ -439,7 +441,7 @@
WRITE_NAND(d, addr); \
} while(0)
-#endif /* CFG_CMD_NAND */
+#endif /* CONFIG_CMD_NAND */
#define CONFIG_PCI
#ifdef CONFIG_PCI