U-Boot
Threads by month
- ----- 2025 -----
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2000 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
July 2007
- 149 participants
- 369 discussions

[U-Boot-Users] [PATCH 03/14] include/configs/[P-Z]*: Cleanup BOOTP and lingering CFG_CMD_*.
by Jon Loeliger 10 Jul '07
by Jon Loeliger 10 Jul '07
10 Jul '07
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(a)freescale.com>
---
include/configs/PATI.h | 9 +++++++++
include/configs/PCI405.h | 9 +++++++++
include/configs/PCI5441.h | 9 +++++++++
include/configs/PIP405.h | 9 +++++++++
include/configs/PK1C20.h | 9 +++++++++
include/configs/PLU405.h | 9 +++++++++
include/configs/PM520.h | 9 +++++++++
include/configs/PM854.h | 9 +++++++++
include/configs/PM856.h | 9 +++++++++
include/configs/PMC405.h | 9 +++++++++
include/configs/PN62.h | 9 +++++++++
include/configs/PPChameleonEVB.h | 9 +++++++++
include/configs/RPXsuper.h | 9 +++++++++
include/configs/Rattler.h | 11 ++++++++++-
include/configs/SBC8540.h | 9 +++++++++
include/configs/SL8245.h | 9 +++++++++
include/configs/SX1.h | 9 +++++++++
include/configs/SXNI855T.h | 9 +++++++++
include/configs/Sandpoint8240.h | 9 +++++++++
include/configs/Sandpoint8245.h | 9 +++++++++
include/configs/TASREG.h | 9 +++++++++
include/configs/TB5200.h | 12 ++++++++++--
include/configs/TOP5200.h | 9 +++++++++
include/configs/TQM5200.h | 12 ++++++++++--
include/configs/TQM8272.h | 14 ++++++++------
include/configs/TQM834x.h | 9 +++++++++
include/configs/TQM85xx.h | 9 +++++++++
include/configs/TQM885D.h | 3 +--
include/configs/Total5200.h | 9 +++++++++
include/configs/VCMA9.h | 9 +++++++++
include/configs/VOH405.h | 9 +++++++++
include/configs/VoVPN-GW.h | 9 +++++++++
include/configs/W7OLMC.h | 9 +++++++++
include/configs/W7OLMG.h | 9 +++++++++
include/configs/WUH405.h | 9 +++++++++
include/configs/XPEDITE1K.h | 9 +++++++++
include/configs/Yukon8220.h | 9 +++++++++
include/configs/ZPC1900.h | 9 +++++++++
38 files changed, 336 insertions(+), 13 deletions(-)
diff --git a/include/configs/PATI.h b/include/configs/PATI.h
index b0f8615..0de7591 100644
--- a/include/configs/PATI.h
+++ b/include/configs/PATI.h
@@ -41,6 +41,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#define CONFIG_CMD_MEMORY
diff --git a/include/configs/PCI405.h b/include/configs/PCI405.h
index 2dfd231..d6e7082 100644
--- a/include/configs/PCI405.h
+++ b/include/configs/PCI405.h
@@ -70,6 +70,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/PCI5441.h b/include/configs/PCI5441.h
index 1bfcd37..24b25d9 100644
--- a/include/configs/PCI5441.h
+++ b/include/configs/PCI5441.h
@@ -124,6 +124,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#define CONFIG_CMD_BDI
diff --git a/include/configs/PIP405.h b/include/configs/PIP405.h
index 0a2d7d7..efa0157 100644
--- a/include/configs/PIP405.h
+++ b/include/configs/PIP405.h
@@ -42,6 +42,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/PK1C20.h b/include/configs/PK1C20.h
index 49a285c..d90351a 100644
--- a/include/configs/PK1C20.h
+++ b/include/configs/PK1C20.h
@@ -162,6 +162,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
diff --git a/include/configs/PLU405.h b/include/configs/PLU405.h
index 5742db6..5470373 100644
--- a/include/configs/PLU405.h
+++ b/include/configs/PLU405.h
@@ -63,6 +63,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/PM520.h b/include/configs/PM520.h
index 3cd3511..5ba8f4a 100644
--- a/include/configs/PM520.h
+++ b/include/configs/PM520.h
@@ -90,6 +90,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/PM854.h b/include/configs/PM854.h
index d79dd76..dbf9422 100644
--- a/include/configs/PM854.h
+++ b/include/configs/PM854.h
@@ -305,6 +305,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/PM856.h b/include/configs/PM856.h
index 5681d43..6bdfa5d 100644
--- a/include/configs/PM856.h
+++ b/include/configs/PM856.h
@@ -308,6 +308,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/PMC405.h b/include/configs/PMC405.h
index bdbc900..b29f368 100644
--- a/include/configs/PMC405.h
+++ b/include/configs/PMC405.h
@@ -65,6 +65,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/PN62.h b/include/configs/PN62.h
index 8346d8c..72acf5a 100644
--- a/include/configs/PN62.h
+++ b/include/configs/PN62.h
@@ -43,6 +43,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/PPChameleonEVB.h b/include/configs/PPChameleonEVB.h
index 709ce5f..dd1decd 100644
--- a/include/configs/PPChameleonEVB.h
+++ b/include/configs/PPChameleonEVB.h
@@ -115,6 +115,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/RPXsuper.h b/include/configs/RPXsuper.h
index 1401da3..dfadd2a 100644
--- a/include/configs/RPXsuper.h
+++ b/include/configs/RPXsuper.h
@@ -151,6 +151,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/Rattler.h b/include/configs/Rattler.h
index 5bdf571..d7652fa 100644
--- a/include/configs/Rattler.h
+++ b/include/configs/Rattler.h
@@ -127,6 +127,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
@@ -207,7 +216,7 @@
#define MTDIDS_DEFAULT "nor0=rattler-0"
#define MTDPARTS_DEFAULT "mtdparts=rattler-0:-@1m(jffs2)"
*/
-#endif /* CFG_CMD_JFFS2 */
+#endif /* CONFIG_CMD_JFFS2 */
#define CFG_MONITOR_BASE TEXT_BASE
#if (CFG_MONITOR_BASE < CFG_FLASH_BASE)
diff --git a/include/configs/SBC8540.h b/include/configs/SBC8540.h
index a5397c2..f2c3699 100644
--- a/include/configs/SBC8540.h
+++ b/include/configs/SBC8540.h
@@ -340,6 +340,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/SL8245.h b/include/configs/SL8245.h
index b8e5c7d..4d9d41b 100644
--- a/include/configs/SL8245.h
+++ b/include/configs/SL8245.h
@@ -55,6 +55,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/SX1.h b/include/configs/SX1.h
index 588d345..05cef87 100644
--- a/include/configs/SX1.h
+++ b/include/configs/SX1.h
@@ -95,6 +95,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/SXNI855T.h b/include/configs/SXNI855T.h
index efc500c..8f2a5ec 100644
--- a/include/configs/SXNI855T.h
+++ b/include/configs/SXNI855T.h
@@ -148,6 +148,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/Sandpoint8240.h b/include/configs/Sandpoint8240.h
index d19c27e..5bbe3c5 100644
--- a/include/configs/Sandpoint8240.h
+++ b/include/configs/Sandpoint8240.h
@@ -82,6 +82,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/Sandpoint8245.h b/include/configs/Sandpoint8245.h
index cbad484..a08451e 100644
--- a/include/configs/Sandpoint8245.h
+++ b/include/configs/Sandpoint8245.h
@@ -53,6 +53,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/TASREG.h b/include/configs/TASREG.h
index b0116e7..2b2ae01 100644
--- a/include/configs/TASREG.h
+++ b/include/configs/TASREG.h
@@ -52,6 +52,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/TB5200.h b/include/configs/TB5200.h
index 3d90efb..1c6a9ae 100644
--- a/include/configs/TB5200.h
+++ b/include/configs/TB5200.h
@@ -88,6 +88,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
@@ -408,8 +417,7 @@
#define CFG_HZ 1000 /* decrementer freq: 1 ms ticks */
/*
- * Enable loopw commando. This has only affect, if CFG_CMD_MEM is defined,
- * which is normally part of the default commands (CFV_CMD_DFL)
+ * Enable loopw command.
*/
#define CONFIG_LOOPW
diff --git a/include/configs/TOP5200.h b/include/configs/TOP5200.h
index 73d25ea..7240ce1 100644
--- a/include/configs/TOP5200.h
+++ b/include/configs/TOP5200.h
@@ -100,6 +100,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h
index 598c1c6..63d77e2 100644
--- a/include/configs/TQM5200.h
+++ b/include/configs/TQM5200.h
@@ -148,6 +148,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
@@ -580,8 +589,7 @@
#define CFG_HZ 1000 /* decrementer freq: 1 ms ticks */
/*
- * Enable loopw commando. This has only affect, if CFG_CMD_MEM is defined,
- * which is normally part of the default commands (CFV_CMD_DFL)
+ * Enable loopw command.
*/
#define CONFIG_LOOPW
diff --git a/include/configs/TQM8272.h b/include/configs/TQM8272.h
index 05e2e9a..50f6752 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
diff --git a/include/configs/TQM834x.h b/include/configs/TQM834x.h
index 684cb30..c3efb7b 100644
--- a/include/configs/TQM834x.h
+++ b/include/configs/TQM834x.h
@@ -316,6 +316,15 @@ extern int tqm834x_num_flash_banks;
#define CFG_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/TQM85xx.h b/include/configs/TQM85xx.h
index b17d5e3..d5ce3ba 100644
--- a/include/configs/TQM85xx.h
+++ b/include/configs/TQM85xx.h
@@ -359,6 +359,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/TQM885D.h b/include/configs/TQM885D.h
index 19fdaf0..f36b729 100644
--- a/include/configs/TQM885D.h
+++ b/include/configs/TQM885D.h
@@ -198,8 +198,7 @@
#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
/*
- * Enable loopw commando. This has only effect, if CFG_CMD_MEM is defined,
- * which is normally part of the default commands (CFV_CMD_DFL)
+ * Enable loopw command.
*/
#define CONFIG_LOOPW
diff --git a/include/configs/Total5200.h b/include/configs/Total5200.h
index 2a1cb89..9edf790 100644
--- a/include/configs/Total5200.h
+++ b/include/configs/Total5200.h
@@ -111,6 +111,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/VCMA9.h b/include/configs/VCMA9.h
index ab802a3..df6894f 100644
--- a/include/configs/VCMA9.h
+++ b/include/configs/VCMA9.h
@@ -50,6 +50,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/VOH405.h b/include/configs/VOH405.h
index 3f2c32b..34f0ebd 100644
--- a/include/configs/VOH405.h
+++ b/include/configs/VOH405.h
@@ -60,6 +60,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/VoVPN-GW.h b/include/configs/VoVPN-GW.h
index ebe634f..1405784 100644
--- a/include/configs/VoVPN-GW.h
+++ b/include/configs/VoVPN-GW.h
@@ -138,6 +138,15 @@
#endif
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
diff --git a/include/configs/W7OLMC.h b/include/configs/W7OLMC.h
index fd81096..fc177fb 100644
--- a/include/configs/W7OLMC.h
+++ b/include/configs/W7OLMC.h
@@ -71,6 +71,15 @@
#define CONFIG_RTC_M48T35A 1 /* ST Electronics M48 timekeeper */
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/W7OLMG.h b/include/configs/W7OLMG.h
index a5ce685..20d693f 100644
--- a/include/configs/W7OLMG.h
+++ b/include/configs/W7OLMG.h
@@ -77,6 +77,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/WUH405.h b/include/configs/WUH405.h
index f786520..c1b3da8 100644
--- a/include/configs/WUH405.h
+++ b/include/configs/WUH405.h
@@ -62,6 +62,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/XPEDITE1K.h b/include/configs/XPEDITE1K.h
index 4b8fbe6..611f5a6 100644
--- a/include/configs/XPEDITE1K.h
+++ b/include/configs/XPEDITE1K.h
@@ -184,6 +184,15 @@ extern void out32(unsigned int, unsigned long);
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/Yukon8220.h b/include/configs/Yukon8220.h
index 07fab44..00c4ff0 100644
--- a/include/configs/Yukon8220.h
+++ b/include/configs/Yukon8220.h
@@ -66,6 +66,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/ZPC1900.h b/include/configs/ZPC1900.h
index fb5bc0f..7c1a5b9 100644
--- a/include/configs/ZPC1900.h
+++ b/include/configs/ZPC1900.h
@@ -108,6 +108,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
--
1.5.2.2.249.g45fd
1
0

[U-Boot-Users] [PATCH 02/14] include/configs/[J-O]*: Cleanup BOOTP and lingering CFG_CMD_*.
by Jon Loeliger 10 Jul '07
by Jon Loeliger 10 Jul '07
10 Jul '07
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(a)freescale.com>
---
include/configs/JSE.h | 9 +++++++++
include/configs/KAREF.h | 9 +++++++++
include/configs/M5271EVB.h | 9 +++++++++
include/configs/M5272C3.h | 9 +++++++++
include/configs/M5282EVB.h | 9 +++++++++
include/configs/MBX.h | 9 +++++++++
include/configs/METROBOX.h | 9 +++++++++
include/configs/MIP405.h | 9 +++++++++
include/configs/ML2.h | 9 +++++++++
include/configs/MOUSSE.h | 9 +++++++++
include/configs/MPC8260ADS.h | 9 +++++++++
include/configs/MPC8349EMDS.h | 9 +++++++++
include/configs/MPC8349ITX.h | 11 ++++++++++-
include/configs/MPC8360EMDS.h | 9 +++++++++
include/configs/MPC8540ADS.h | 9 +++++++++
include/configs/MPC8540EVAL.h | 9 +++++++++
include/configs/MPC8541CDS.h | 9 +++++++++
include/configs/MPC8544DS.h | 9 +++++++++
include/configs/MPC8548CDS.h | 9 +++++++++
include/configs/MPC8555CDS.h | 9 +++++++++
include/configs/MPC8560ADS.h | 9 +++++++++
include/configs/MPC8641HPCN.h | 9 +++++++++
include/configs/MUSENKI.h | 9 +++++++++
include/configs/OCRTC.h | 9 +++++++++
include/configs/ORSG.h | 9 +++++++++
include/configs/OXC.h | 9 +++++++++
26 files changed, 235 insertions(+), 1 deletions(-)
diff --git a/include/configs/JSE.h b/include/configs/JSE.h
index c67c063..ea3b0b4 100644
--- a/include/configs/JSE.h
+++ b/include/configs/JSE.h
@@ -137,6 +137,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/KAREF.h b/include/configs/KAREF.h
index f036804..3644e43 100644
--- a/include/configs/KAREF.h
+++ b/include/configs/KAREF.h
@@ -179,6 +179,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/M5271EVB.h b/include/configs/M5271EVB.h
index 1907a3c..885a882 100644
--- a/include/configs/M5271EVB.h
+++ b/include/configs/M5271EVB.h
@@ -66,6 +66,15 @@
#endif
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/M5272C3.h b/include/configs/M5272C3.h
index 4171665..cc456dc 100644
--- a/include/configs/M5272C3.h
+++ b/include/configs/M5272C3.h
@@ -62,6 +62,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/M5282EVB.h b/include/configs/M5282EVB.h
index cf3076e..f2a7644 100644
--- a/include/configs/M5282EVB.h
+++ b/include/configs/M5282EVB.h
@@ -52,6 +52,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/MBX.h b/include/configs/MBX.h
index ae8913c..d9f2add 100644
--- a/include/configs/MBX.h
+++ b/include/configs/MBX.h
@@ -73,6 +73,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#define CONFIG_CMD_NET
diff --git a/include/configs/METROBOX.h b/include/configs/METROBOX.h
index e9aaedb..8d7ec59 100644
--- a/include/configs/METROBOX.h
+++ b/include/configs/METROBOX.h
@@ -243,6 +243,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/MIP405.h b/include/configs/MIP405.h
index 192998e..5b526a0 100644
--- a/include/configs/MIP405.h
+++ b/include/configs/MIP405.h
@@ -52,6 +52,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/ML2.h b/include/configs/ML2.h
index 8d61d48..f488275 100644
--- a/include/configs/ML2.h
+++ b/include/configs/ML2.h
@@ -77,6 +77,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/MOUSSE.h b/include/configs/MOUSSE.h
index 518bf12..9370c24 100644
--- a/include/configs/MOUSSE.h
+++ b/include/configs/MOUSSE.h
@@ -61,6 +61,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/MPC8260ADS.h b/include/configs/MPC8260ADS.h
index a36b69d..f3e5330 100644
--- a/include/configs/MPC8260ADS.h
+++ b/include/configs/MPC8260ADS.h
@@ -198,6 +198,15 @@
#define CONFIG_BAUDRATE 115200
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_all.h>
diff --git a/include/configs/MPC8349EMDS.h b/include/configs/MPC8349EMDS.h
index 9855a62..1567fcf 100644
--- a/include/configs/MPC8349EMDS.h
+++ b/include/configs/MPC8349EMDS.h
@@ -477,6 +477,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/MPC8349ITX.h b/include/configs/MPC8349ITX.h
index 799ff4a..121ff06 100644
--- a/include/configs/MPC8349ITX.h
+++ b/include/configs/MPC8349ITX.h
@@ -372,7 +372,7 @@ boards, we say we have two, but don't display a message if we find only one. */
#define CONFIG_NET_MULTI
#define CONFIG_MII
-#define CONFIG_PHY_GIGE /* In case CFG_CMD_MII is specified */
+#define CONFIG_PHY_GIGE /* In case CONFIG_CMD_MII is specified */
#define CONFIG_TSEC1
@@ -417,6 +417,15 @@ boards, we say we have two, but don't display a message if we find only one. */
#define CFG_LOADS_BAUD_CHANGE /* allow baudrate change */
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/MPC8360EMDS.h b/include/configs/MPC8360EMDS.h
index b355f89..4b32a14 100644
--- a/include/configs/MPC8360EMDS.h
+++ b/include/configs/MPC8360EMDS.h
@@ -458,6 +458,15 @@
#define CFG_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/MPC8540ADS.h b/include/configs/MPC8540ADS.h
index f103e47..7b010bf 100644
--- a/include/configs/MPC8540ADS.h
+++ b/include/configs/MPC8540ADS.h
@@ -409,6 +409,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/MPC8540EVAL.h b/include/configs/MPC8540EVAL.h
index dea061a..0ce25cf 100644
--- a/include/configs/MPC8540EVAL.h
+++ b/include/configs/MPC8540EVAL.h
@@ -261,6 +261,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/MPC8541CDS.h b/include/configs/MPC8541CDS.h
index 5f12eee..50d3b6b 100644
--- a/include/configs/MPC8541CDS.h
+++ b/include/configs/MPC8541CDS.h
@@ -402,6 +402,15 @@ extern unsigned long get_clock_freq(void);
#define CFG_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h
index b33d225..d0f94a3 100644
--- a/include/configs/MPC8544DS.h
+++ b/include/configs/MPC8544DS.h
@@ -394,6 +394,15 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h
index cef92d2..2e84fc8 100644
--- a/include/configs/MPC8548CDS.h
+++ b/include/configs/MPC8548CDS.h
@@ -428,6 +428,15 @@ extern unsigned long get_clock_freq(void);
#define CFG_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/MPC8555CDS.h b/include/configs/MPC8555CDS.h
index 077aaa3..a3025bd 100644
--- a/include/configs/MPC8555CDS.h
+++ b/include/configs/MPC8555CDS.h
@@ -402,6 +402,15 @@ extern unsigned long get_clock_freq(void);
#define CFG_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h
index affe535..8ce8a53 100644
--- a/include/configs/MPC8560ADS.h
+++ b/include/configs/MPC8560ADS.h
@@ -433,6 +433,15 @@
#define CFG_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index 0579a35..808c19f 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -477,6 +477,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/MUSENKI.h b/include/configs/MUSENKI.h
index d6dafb2..f8cf01e 100644
--- a/include/configs/MUSENKI.h
+++ b/include/configs/MUSENKI.h
@@ -54,6 +54,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/OCRTC.h b/include/configs/OCRTC.h
index 00f747e..5840ea2 100644
--- a/include/configs/OCRTC.h
+++ b/include/configs/OCRTC.h
@@ -56,6 +56,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/ORSG.h b/include/configs/ORSG.h
index bab4c3d..937df22 100644
--- a/include/configs/ORSG.h
+++ b/include/configs/ORSG.h
@@ -56,6 +56,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/OXC.h b/include/configs/OXC.h
index e70d485..8d61bcd 100644
--- a/include/configs/OXC.h
+++ b/include/configs/OXC.h
@@ -53,6 +53,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
--
1.5.2.2.249.g45fd
1
0

[U-Boot-Users] [PATCH 01/14] include/configs/[A-I]*: Cleanup BOOTP and lingering CFG_CMD_*.
by Jon Loeliger 10 Jul '07
by Jon Loeliger 10 Jul '07
10 Jul '07
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(a)freescale.com>
---
include/configs/A3000.h | 9 +++++++++
include/configs/ADCIOP.h | 9 +++++++++
include/configs/ADNPESC1.h | 9 +++++++++
include/configs/AP1000.h | 8 ++++++++
include/configs/APC405.h | 9 +++++++++
include/configs/AR405.h | 9 +++++++++
include/configs/ASH405.h | 9 +++++++++
include/configs/Adder.h | 9 +++++++++
include/configs/Alaska8220.h | 9 +++++++++
include/configs/BC3450.h | 12 ++++++++++--
include/configs/BMW.h | 11 ++++++++++-
include/configs/CANBT.h | 9 +++++++++
include/configs/CATcenter.h | 9 +++++++++
include/configs/CPCI2DP.h | 9 +++++++++
include/configs/CPCI440.h | 9 +++++++++
include/configs/CPCIISER4.h | 18 ++++++++++++++++++
include/configs/DASA_SIM.h | 9 +++++++++
include/configs/DK1C20.h | 9 +++++++++
include/configs/DK1S10.h | 9 +++++++++
include/configs/DP405.h | 9 +++++++++
include/configs/DU405.h | 9 +++++++++
include/configs/EB+MCF-EV123.h | 9 +++++++++
include/configs/EP1C20.h | 9 +++++++++
include/configs/EP1S10.h | 9 +++++++++
include/configs/EP1S40.h | 9 +++++++++
include/configs/EP88x.h | 9 +++++++++
include/configs/ERIC.h | 9 +++++++++
include/configs/EXBITGEN.h | 9 +++++++++
include/configs/FADS823.h | 1 -
include/configs/FADS850SAR.h | 9 +++++++++
include/configs/G2000.h | 9 +++++++++
include/configs/GENIETV.h | 9 +++++++++
include/configs/GTH.h | 9 +++++++++
include/configs/HH405.h | 17 +++++++++++++----
include/configs/HIDDEN_DRAGON.h | 9 +++++++++
include/configs/HUB405.h | 9 +++++++++
include/configs/IDS8247.h | 2 +-
include/configs/ISPAN.h | 9 +++++++++
include/configs/IceCube.h | 25 +++++++++++++++----------
39 files changed, 354 insertions(+), 19 deletions(-)
diff --git a/include/configs/A3000.h b/include/configs/A3000.h
index eb07490..0a9a1ff 100644
--- a/include/configs/A3000.h
+++ b/include/configs/A3000.h
@@ -54,6 +54,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/ADCIOP.h b/include/configs/ADCIOP.h
index f79fad1..4632991 100644
--- a/include/configs/ADCIOP.h
+++ b/include/configs/ADCIOP.h
@@ -59,6 +59,15 @@
#define CONFIG_IPADDR 10.0.18.222
#define CONFIG_SERVERIP 10.0.18.190
+
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
/*
* Command line configuration.
*/
diff --git a/include/configs/ADNPESC1.h b/include/configs/ADNPESC1.h
index 0635506..d4ee14c 100644
--- a/include/configs/ADNPESC1.h
+++ b/include/configs/ADNPESC1.h
@@ -564,6 +564,15 @@
#define CFG_NIOS_POST_WORD_ADDR (CFG_MONITOR_BASE + CFG_MONITOR_LEN)
+
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
/*
* Command line configuration.
*/
diff --git a/include/configs/AP1000.h b/include/configs/AP1000.h
index 015699d..d25aa74 100644
--- a/include/configs/AP1000.h
+++ b/include/configs/AP1000.h
@@ -68,6 +68,14 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/APC405.h b/include/configs/APC405.h
index 5ac86be..6dcfbc1 100644
--- a/include/configs/APC405.h
+++ b/include/configs/APC405.h
@@ -69,6 +69,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/AR405.h b/include/configs/AR405.h
index 785f945..0f301ec 100644
--- a/include/configs/AR405.h
+++ b/include/configs/AR405.h
@@ -73,6 +73,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/ASH405.h b/include/configs/ASH405.h
index f0ec761..9e0ee37 100644
--- a/include/configs/ASH405.h
+++ b/include/configs/ASH405.h
@@ -61,6 +61,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/Adder.h b/include/configs/Adder.h
index 9a42944..5e076dc 100644
--- a/include/configs/Adder.h
+++ b/include/configs/Adder.h
@@ -54,6 +54,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/Alaska8220.h b/include/configs/Alaska8220.h
index e47872d..3f2f614 100644
--- a/include/configs/Alaska8220.h
+++ b/include/configs/Alaska8220.h
@@ -66,6 +66,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/BC3450.h b/include/configs/BC3450.h
index aec4d83..844bdc5 100644
--- a/include/configs/BC3450.h
+++ b/include/configs/BC3450.h
@@ -144,6 +144,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
@@ -449,8 +458,7 @@
#endif
/*
- * Enable loopw commando. This has only affect, if CFG_CMD_MEM is defined,
- * which is normally part of the default commands (CFV_CMD_DFL)
+ * Enable loopw command.
*/
#define CONFIG_LOOPW
diff --git a/include/configs/BMW.h b/include/configs/BMW.h
index b062316..bb7856f 100644
--- a/include/configs/BMW.h
+++ b/include/configs/BMW.h
@@ -67,6 +67,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
@@ -76,7 +85,7 @@
#define CONFIG_CMD_ELF
-/* CFG_CMD_DOC required legacy NAND support */
+/* CONFIG_CMD_DOC required legacy NAND support */
#define CFG_NAND_LEGACY
#if 0
diff --git a/include/configs/CANBT.h b/include/configs/CANBT.h
index 8e09c52..0e082b3 100644
--- a/include/configs/CANBT.h
+++ b/include/configs/CANBT.h
@@ -58,6 +58,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/CATcenter.h b/include/configs/CATcenter.h
index 33c8b1c..62a2eaa 100644
--- a/include/configs/CATcenter.h
+++ b/include/configs/CATcenter.h
@@ -121,6 +121,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/CPCI2DP.h b/include/configs/CPCI2DP.h
index def2646..a3717b9 100644
--- a/include/configs/CPCI2DP.h
+++ b/include/configs/CPCI2DP.h
@@ -55,6 +55,15 @@
#define CONFIG_PHY_ADDR 0 /* PHY address */
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/CPCI440.h b/include/configs/CPCI440.h
index 73b3e8a..318ada1 100644
--- a/include/configs/CPCI440.h
+++ b/include/configs/CPCI440.h
@@ -174,6 +174,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/CPCIISER4.h b/include/configs/CPCIISER4.h
index e0b4d8c..c7b623a 100644
--- a/include/configs/CPCIISER4.h
+++ b/include/configs/CPCIISER4.h
@@ -56,6 +56,24 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/DASA_SIM.h b/include/configs/DASA_SIM.h
index b1638ce..627ea14 100644
--- a/include/configs/DASA_SIM.h
+++ b/include/configs/DASA_SIM.h
@@ -59,6 +59,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/DK1C20.h b/include/configs/DK1C20.h
index c3bd2cb..0ddf0e3 100644
--- a/include/configs/DK1C20.h
+++ b/include/configs/DK1C20.h
@@ -448,6 +448,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_all.h>
diff --git a/include/configs/DK1S10.h b/include/configs/DK1S10.h
index a5530a6..0032fd3 100644
--- a/include/configs/DK1S10.h
+++ b/include/configs/DK1S10.h
@@ -455,6 +455,15 @@
#endif /* CFG_NIOS_CPU_PIO_NUMS */
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_all.h>
diff --git a/include/configs/DP405.h b/include/configs/DP405.h
index b50d4f9..2eadbea 100644
--- a/include/configs/DP405.h
+++ b/include/configs/DP405.h
@@ -57,6 +57,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/DU405.h b/include/configs/DU405.h
index 2093b37..5c595f5 100644
--- a/include/configs/DU405.h
+++ b/include/configs/DU405.h
@@ -60,6 +60,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/EB+MCF-EV123.h b/include/configs/EB+MCF-EV123.h
index 07f31d5..a8697ec 100644
--- a/include/configs/EB+MCF-EV123.h
+++ b/include/configs/EB+MCF-EV123.h
@@ -70,6 +70,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/EP1C20.h b/include/configs/EP1C20.h
index db133c6..cfa6335 100644
--- a/include/configs/EP1C20.h
+++ b/include/configs/EP1C20.h
@@ -162,6 +162,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/EP1S10.h b/include/configs/EP1S10.h
index 67a162d..7c526f7 100644
--- a/include/configs/EP1S10.h
+++ b/include/configs/EP1S10.h
@@ -156,6 +156,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#define CONFIG_CMD_BDI
diff --git a/include/configs/EP1S40.h b/include/configs/EP1S40.h
index 2363835..1fe8f68 100644
--- a/include/configs/EP1S40.h
+++ b/include/configs/EP1S40.h
@@ -156,6 +156,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#define CONFIG_CMD_BDI
diff --git a/include/configs/EP88x.h b/include/configs/EP88x.h
index 60a4508..89e0eeb 100644
--- a/include/configs/EP88x.h
+++ b/include/configs/EP88x.h
@@ -51,6 +51,15 @@
#define CFG_8xx_CPUCLK_MAX 133000000
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/ERIC.h b/include/configs/ERIC.h
index 2320747..5d48d2b 100644
--- a/include/configs/ERIC.h
+++ b/include/configs/ERIC.h
@@ -98,6 +98,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/EXBITGEN.h b/include/configs/EXBITGEN.h
index fdbf125..a3f38bb 100644
--- a/include/configs/EXBITGEN.h
+++ b/include/configs/EXBITGEN.h
@@ -84,6 +84,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/FADS823.h b/include/configs/FADS823.h
index bc39576..a562b2f 100644
--- a/include/configs/FADS823.h
+++ b/include/configs/FADS823.h
@@ -46,7 +46,6 @@
#define CFG_I2C_SPEED 400000 /* I2C speed and slave address */
#define CFG_I2C_SLAVE 0x7F
-/*Now included by CFG_CMD_PCMCIA */
/*#define CONFIG_PCMCIA 1 / * To enable PCMCIA support */
/* Video related */
diff --git a/include/configs/FADS850SAR.h b/include/configs/FADS850SAR.h
index c2238c9..c8ce259 100644
--- a/include/configs/FADS850SAR.h
+++ b/include/configs/FADS850SAR.h
@@ -63,6 +63,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/G2000.h b/include/configs/G2000.h
index 24eff02..9c713c6 100644
--- a/include/configs/G2000.h
+++ b/include/configs/G2000.h
@@ -90,6 +90,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/GENIETV.h b/include/configs/GENIETV.h
index 67525db..785355a 100644
--- a/include/configs/GENIETV.h
+++ b/include/configs/GENIETV.h
@@ -107,6 +107,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/GTH.h b/include/configs/GTH.h
index f398bad..79f5714 100644
--- a/include/configs/GTH.h
+++ b/include/configs/GTH.h
@@ -99,6 +99,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/HH405.h b/include/configs/HH405.h
index 58f29cd..00f481c 100644
--- a/include/configs/HH405.h
+++ b/include/configs/HH405.h
@@ -98,11 +98,18 @@
#define CONFIG_VIDEO_BMP_GZIP /* gzip compressed bmp images */
#define CFG_VIDEO_LOGO_MAX_SIZE (2 << 20) /* for decompressed img */
-#define ADD_BMP_CMD CFG_CMD_BMP
-#else
-#define ADD_BMP_CMD 0
#endif /* CONFIG_VIDEO */
+
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
/*
* Command line configuration.
*/
@@ -120,9 +127,11 @@
#define CONFIG_CMD_DATE
#define CONFIG_CMD_MII
#define CONFIG_CMD_PING
-#define CONFIG_BMP_CMD
#define CONFIG_CMD_EEPROM
+#ifdef CONFIG_VIDEO
+#define CONFIG_CMD_BMP
+#endif
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/HIDDEN_DRAGON.h b/include/configs/HIDDEN_DRAGON.h
index 972ca08..26dd954 100644
--- a/include/configs/HIDDEN_DRAGON.h
+++ b/include/configs/HIDDEN_DRAGON.h
@@ -54,6 +54,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/HUB405.h b/include/configs/HUB405.h
index d29bddb..661b895 100644
--- a/include/configs/HUB405.h
+++ b/include/configs/HUB405.h
@@ -62,6 +62,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/IDS8247.h b/include/configs/IDS8247.h
index 455bbe3..85d2bb3 100644
--- a/include/configs/IDS8247.h
+++ b/include/configs/IDS8247.h
@@ -303,7 +303,7 @@
#define WRITE_NAND(d, adr) do{ *(volatile __u8 *)((unsigned long)(adr + 0x0)) = (__u8)d; } while(0)
#define READ_NAND(adr) ((volatile unsigned char)(*(volatile __u8 *)(unsigned long)(adr + 0x0)))
-#endif /* CFG_CMD_NAND */
+#endif /* CONFIG_CMD_NAND */
/*-----------------------------------------------------------------------
* Hard Reset Configuration Words
diff --git a/include/configs/ISPAN.h b/include/configs/ISPAN.h
index e6ef765..965b515 100644
--- a/include/configs/ISPAN.h
+++ b/include/configs/ISPAN.h
@@ -107,6 +107,15 @@
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
diff --git a/include/configs/IceCube.h b/include/configs/IceCube.h
index c80c2d4..cc902c8 100644
--- a/include/configs/IceCube.h
+++ b/include/configs/IceCube.h
@@ -64,7 +64,6 @@
#define CONFIG_PCI_IO_BUS 0x50000000
#define CONFIG_PCI_IO_PHYS CONFIG_PCI_IO_BUS
#define CONFIG_PCI_IO_SIZE 0x01000000
-#define ADD_PCI_CMD CFG_CMD_PCI
#endif
#define CFG_XLB_PIPELINING 1
@@ -75,11 +74,8 @@
#define CFG_RX_ETH_BUFFER 8 /* use 8 rx buffer on eepro100 */
#define CONFIG_NS8382X 1
-#else /* MPC5100 */
-
+#else
#define CONFIG_MII 1
-#define ADD_PCI_CMD 0 /* no CFG_CMD_PCI */
-
#endif
/* Partitions */
@@ -90,16 +86,22 @@
/* USB */
#if 1
#define CONFIG_USB_OHCI
-#define ADD_USB_CMD CFG_CMD_USB | CFG_CMD_FAT
#define CONFIG_USB_STORAGE
-#else
-#define ADD_USB_CMD 0
#endif
#define CONFIG_TIMESTAMP /* Print image info with timestamp */
/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+
+/*
* Command line configuration.
*/
#include <config_cmd_default.h>
@@ -110,8 +112,11 @@
#define CONFIG_CMD_IDE
#define CONFIG_CMD_NFS
#define CONFIG_CMD_SNTP
-#define CONFIG_PCI_CMD
-#define CONFIG_USB_CMD
+#define CONFIG_CMD_USB
+
+#if defined(CONFIG_PCI)
+#define CONFIG_CMD_PCI
+#endif
#if (TEXT_BASE == 0xFF000000) /* Boot low with 16 MB Flash */
--
1.5.2.2.249.g45fd
1
0

10 Jul '07
Folks,
This teeny set of 14 patches adds the missing CONFIG_BOOTP_
definitions to those board port files that used to #include
cmd_confdefs.h but didn't define CONFIG_BOOTP_MASK directly,
thus tacitly using the so-called default BOOTP options.
It also cleans out references to old CFG_CMD_* symbols that
were mostly molding in comments.
However there were places that incorrectly used something like
#if defined(CFG_CMD_IDE)
that were changed to the (now) correct test on CONFIG_CMD_IDE.
Since CFG_CMD_IDE was a bitvalue, it was always TRUE, and so
some code was (incorrectly) always being compiled even though
the intent was to make it selected.
Think of it as smaller images now! But also note that it may
cause link problems that must now be resolved properly.
This really should be the end of this effort, modulo lingering
cleanup and typos.
No, really.
All applied to, and available here too:
www.jdl.com/software/u-boot-cfg.jdl
jdl
board/Marvell/common/serial.c | 2 +-
board/amirix/ap1000/serial.c | 2 +-
board/bc3450/bc3450.c | 4 ++--
board/bc3450/cmd_bc3450.c | 2 +-
board/bf537-stamp/ether_bf537.c | 2 +-
board/c2mon/pcmcia.c | 2 +-
board/cpc45/cpc45.c | 2 +-
board/emk/top5200/top5200.c | 4 ++--
board/esd/common/auto_update.c | 2 +-
board/esd/cpci5200/cpci5200.c | 4 ++--
board/esd/cpci750/ide.c | 2 +-
board/esd/cpci750/serial.c | 2 +-
board/esd/mecp5200/mecp5200.c | 4 ++--
board/esd/pf5200/pf5200.c | 4 ++--
board/evb64260/eth.c | 2 +-
board/evb64260/serial.c | 2 +-
board/evb64260/zuma_pbb.c | 2 +-
board/fads/fads.c | 2 +-
board/fads/fads.h | 14 ++++++++++++--
board/gen860t/gen860t.c | 2 +-
board/genietv/genietv.c | 2 +-
board/hymod/bsp.c | 4 +---
board/icecube/icecube.c | 4 ++--
board/icu862/pcmcia.c | 2 +-
board/ids8247/ids8247.c | 2 +-
board/inka4x0/inka4x0.c | 4 ++--
board/jupiter/jupiter.c | 4 ++--
board/kup/common/pcmcia.c | 2 +-
board/lwmon/lwmon.c | 2 +-
board/lwmon/pcmcia.c | 2 +-
board/mcc200/auto_update.c | 2 +-
board/mcc200/mcc200.c | 4 ++--
board/netta/pcmcia.c | 2 +-
board/pcippc2/pcippc2.c | 2 +-
board/pm520/pm520.c | 4 ++--
board/r360mpi/pcmcia.c | 2 +-
board/sacsng/sacsng.c | 2 +-
board/siemens/pcu_e/pcu_e.c | 2 +-
board/sixnet/sixnet.c | 2 +-
board/ssv/adnpesc1/adnpesc1.c | 2 +-
board/ssv/common/cmd_sled.c | 2 +-
board/ssv/common/wd_pio.c | 2 +-
board/total5200/total5200.c | 4 ++--
board/tqm5200/cmd_stk52xx.c | 2 +-
board/tqm5200/cmd_tb5200.c | 2 +-
board/tqm5200/tqm5200.c | 4 ++--
board/tqm8272/tqm8272.c | 2 +-
board/trab/auto_update.c | 2 +-
board/trab/cmd_trab.c | 2 +-
board/trab/trab_fkt.c | 20 ++++++++++----------
board/uc100/pcmcia.c | 2 +-
board/v38b/v38b.c | 4 ++--
board/xilinx/ml300/serial.c | 2 +-
common/cmd_autoscript.c | 7 ++++---
common/cmd_bdinfo.c | 6 +++---
common/cmd_bedbug.c | 2 +-
common/cmd_bootm.c | 12 ++++++------
common/cmd_cache.c | 2 +-
common/cmd_console.c | 2 +-
common/cmd_date.c | 2 +-
common/cmd_dcr.c | 2 +-
common/cmd_diag.c | 2 +-
common/cmd_display.c | 2 +-
common/cmd_eeprom.c | 7 ++++---
common/cmd_elf.c | 2 +-
common/cmd_fat.c | 2 +-
common/cmd_flash.c | 2 +-
common/cmd_i2c.c | 8 ++++----
common/cmd_immap.c | 2 +-
common/cmd_jffs2.c | 2 +-
common/cmd_load.c | 18 +++++++++---------
common/cmd_mem.c | 2 +-
common/cmd_mfsl.c | 2 +-
common/cmd_mii.c | 2 +-
common/cmd_misc.c | 2 +-
common/cmd_mmc.c | 2 +-
common/cmd_net.c | 12 ++++++------
common/cmd_nvedit.c | 10 +++++-----
common/cmd_portio.c | 2 +-
common/cmd_spi.c | 2 +-
common/cmd_vfd.c | 2 +-
common/command.c | 2 +-
common/env_flash.c | 2 +-
common/env_nand.c | 2 +-
common/hush.c | 2 +-
common/kgdb.c | 2 +-
common/main.c | 4 ++--
common/usb_storage.c | 2 +-
cpu/74xx_7xx/kgdb.S | 2 +-
cpu/i386/serial.c | 2 +-
cpu/mcf52x2/fec.c | 2 +-
cpu/mpc5xxx/ide.c | 4 ++--
cpu/mpc8260/ether_fcc.c | 2 +-
cpu/mpc8260/ether_scc.c | 2 +-
cpu/mpc8260/kgdb.S | 2 +-
cpu/mpc85xx/ether_fcc.c | 2 +-
cpu/mpc8xx/fec.c | 2 +-
cpu/mpc8xx/kgdb.S | 2 +-
cpu/mpc8xx/scc.c | 2 +-
cpu/mpc8xx/serial.c | 2 +-
cpu/ppc4xx/dcr.S | 2 +-
cpu/ppc4xx/kgdb.S | 2 +-
cpu/ppc4xx/serial.c | 2 +-
disk/part.c | 2 +-
doc/README.JFFS2 | 2 +-
doc/README.PIP405 | 14 ++++++--------
doc/README.usb | 6 +++---
drivers/bcm570x.c | 2 +-
drivers/cfb_console.c | 6 +++---
drivers/dc2114x.c | 2 +-
drivers/mpc8xx_pcmcia.c | 2 +-
drivers/rtl8139.c | 2 +-
drivers/tigon3.c | 2 +-
drivers/tqm8xx_pcmcia.c | 2 +-
fs/ext2/dev.c | 2 +-
fs/ext2/ext2fs.c | 2 +-
fs/jffs2/compr_rtime.c | 2 +-
fs/jffs2/compr_rubin.c | 2 +-
fs/jffs2/compr_zlib.c | 2 +-
fs/jffs2/jffs2_1pass.c | 2 +-
fs/jffs2/jffs2_nand_1pass.c | 2 +-
fs/jffs2/mini_inflate.c | 2 +-
fs/reiserfs/dev.c | 2 +-
fs/reiserfs/mode_string.c | 2 +-
fs/reiserfs/reiserfs.c | 2 +-
include/_exports.h | 2 +-
include/configs/A3000.h | 9 +++++++++
include/configs/ADCIOP.h | 9 +++++++++
include/configs/ADNPESC1.h | 9 +++++++++
include/configs/AP1000.h | 8 ++++++++
include/configs/APC405.h | 9 +++++++++
include/configs/AR405.h | 9 +++++++++
include/configs/ASH405.h | 9 +++++++++
include/configs/Adder.h | 9 +++++++++
include/configs/Alaska8220.h | 9 +++++++++
include/configs/BC3450.h | 12 ++++++++++--
include/configs/BMW.h | 11 ++++++++++-
include/configs/CANBT.h | 9 +++++++++
include/configs/CATcenter.h | 9 +++++++++
include/configs/CPCI2DP.h | 9 +++++++++
include/configs/CPCI440.h | 9 +++++++++
include/configs/CPCIISER4.h | 18 ++++++++++++++++++
include/configs/DASA_SIM.h | 9 +++++++++
include/configs/DK1C20.h | 9 +++++++++
include/configs/DK1S10.h | 9 +++++++++
include/configs/DP405.h | 9 +++++++++
include/configs/DU405.h | 9 +++++++++
include/configs/EB+MCF-EV123.h | 9 +++++++++
include/configs/EP1C20.h | 9 +++++++++
include/configs/EP1S10.h | 9 +++++++++
include/configs/EP1S40.h | 9 +++++++++
include/configs/EP88x.h | 9 +++++++++
include/configs/ERIC.h | 9 +++++++++
include/configs/EXBITGEN.h | 9 +++++++++
include/configs/FADS823.h | 1 -
include/configs/FADS850SAR.h | 9 +++++++++
include/configs/G2000.h | 9 +++++++++
include/configs/GENIETV.h | 9 +++++++++
include/configs/GTH.h | 9 +++++++++
include/configs/HH405.h | 17 +++++++++++++----
include/configs/HIDDEN_DRAGON.h | 9 +++++++++
include/configs/HUB405.h | 9 +++++++++
include/configs/IDS8247.h | 2 +-
include/configs/ISPAN.h | 9 +++++++++
include/configs/IceCube.h | 25 +++++++++++++++----------
include/configs/JSE.h | 9 +++++++++
include/configs/KAREF.h | 9 +++++++++
include/configs/M5271EVB.h | 9 +++++++++
include/configs/M5272C3.h | 9 +++++++++
include/configs/M5282EVB.h | 9 +++++++++
include/configs/MBX.h | 9 +++++++++
include/configs/METROBOX.h | 9 +++++++++
include/configs/MIP405.h | 9 +++++++++
include/configs/ML2.h | 9 +++++++++
include/configs/MOUSSE.h | 9 +++++++++
include/configs/MPC8260ADS.h | 9 +++++++++
include/configs/MPC8313ERDB.h | 9 +++++++++
include/configs/MPC832XEMDS.h | 9 +++++++++
include/configs/MPC8349EMDS.h | 9 +++++++++
include/configs/MPC8349ITX.h | 11 ++++++++++-
include/configs/MPC8360EMDS.h | 9 +++++++++
include/configs/MPC8540ADS.h | 9 +++++++++
include/configs/MPC8540EVAL.h | 9 +++++++++
include/configs/MPC8541CDS.h | 9 +++++++++
include/configs/MPC8544DS.h | 9 +++++++++
include/configs/MPC8548CDS.h | 9 +++++++++
include/configs/MPC8555CDS.h | 9 +++++++++
include/configs/MPC8560ADS.h | 9 +++++++++
include/configs/MPC8568MDS.h | 9 +++++++++
include/configs/MPC8641HPCN.h | 9 +++++++++
include/configs/MUSENKI.h | 9 +++++++++
include/configs/OCRTC.h | 9 +++++++++
include/configs/ORSG.h | 9 +++++++++
include/configs/OXC.h | 9 +++++++++
include/configs/PATI.h | 9 +++++++++
include/configs/PCI405.h | 9 +++++++++
include/configs/PCI5441.h | 9 +++++++++
include/configs/PIP405.h | 9 +++++++++
include/configs/PK1C20.h | 9 +++++++++
include/configs/PLU405.h | 9 +++++++++
include/configs/PM520.h | 9 +++++++++
include/configs/PM854.h | 9 +++++++++
include/configs/PM856.h | 9 +++++++++
include/configs/PMC405.h | 9 +++++++++
include/configs/PN62.h | 9 +++++++++
include/configs/PPChameleonEVB.h | 9 +++++++++
include/configs/RPXsuper.h | 9 +++++++++
include/configs/Rattler.h | 11 ++++++++++-
include/configs/SBC8540.h | 9 +++++++++
include/configs/SL8245.h | 9 +++++++++
include/configs/SX1.h | 9 +++++++++
include/configs/SXNI855T.h | 9 +++++++++
include/configs/Sandpoint8240.h | 9 +++++++++
include/configs/Sandpoint8245.h | 9 +++++++++
include/configs/TASREG.h | 9 +++++++++
include/configs/TB5200.h | 12 ++++++++++--
include/configs/TOP5200.h | 9 +++++++++
include/configs/TQM5200.h | 12 ++++++++++--
include/configs/TQM8272.h | 14 ++++++++------
include/configs/TQM834x.h | 9 +++++++++
include/configs/TQM85xx.h | 9 +++++++++
include/configs/TQM885D.h | 3 +--
include/configs/Total5200.h | 9 +++++++++
include/configs/VCMA9.h | 9 +++++++++
include/configs/VOH405.h | 9 +++++++++
include/configs/VoVPN-GW.h | 9 +++++++++
include/configs/W7OLMC.h | 9 +++++++++
include/configs/W7OLMG.h | 9 +++++++++
include/configs/WUH405.h | 9 +++++++++
include/configs/XPEDITE1K.h | 9 +++++++++
include/configs/Yukon8220.h | 9 +++++++++
include/configs/ZPC1900.h | 9 +++++++++
include/configs/acadia.h | 9 +++++++++
include/configs/adsvix.h | 9 +++++++++
include/configs/aev.h | 12 ++++++++++--
include/configs/alpr.h | 9 +++++++++
include/configs/at91rm9200dk.h | 9 +++++++++
include/configs/bamboo.h | 9 +++++++++
include/configs/barco.h | 3 ++-
include/configs/bf533-ezkit.h | 9 +++++++++
include/configs/bf533-stamp.h | 9 +++++++++
include/configs/bf537-stamp.h | 9 +++++++++
include/configs/bf561-ezkit.h | 9 +++++++++
include/configs/bubinga.h | 9 +++++++++
include/configs/canmb.h | 9 +++++++++
include/configs/cerf250.h | 9 +++++++++
include/configs/cm4008.h | 9 +++++++++
include/configs/cm41xx.h | 9 +++++++++
include/configs/cmc_pu2.h | 9 +++++++++
include/configs/cmi_mpc5xx.h | 9 +++++++++
include/configs/cobra5272.h | 9 +++++++++
include/configs/cogent_mpc8260.h | 9 +++++++++
include/configs/cogent_mpc8xx.h | 9 +++++++++
include/configs/cpci5200.h | 9 +++++++++
include/configs/cradle.h | 9 +++++++++
include/configs/csb226.h | 9 +++++++++
include/configs/csb637.h | 9 +++++++++
include/configs/dbau1x00.h | 9 +++++++++
include/configs/debris.h | 9 +++++++++
include/configs/delta.h | 9 +++++++++
include/configs/dnp1110.h | 9 +++++++++
include/configs/eXalion.h | 9 +++++++++
include/configs/ebony.h | 9 +++++++++
include/configs/ep8248.h | 13 +++++++++++--
include/configs/ep8260.h | 9 +++++++++
include/configs/ep82xxm.h | 13 +++++++++++--
include/configs/gth2.h | 9 +++++++++
include/configs/hmi1001.h | 12 ++++++++++--
include/configs/hymod.h | 9 +++++++++
include/configs/idmr.h | 9 +++++++++
include/configs/incaip.h | 9 +++++++++
include/configs/inka4x0.h | 12 ++++++++++--
include/configs/innokom.h | 9 +++++++++
include/configs/integratorap.h | 9 +++++++++
include/configs/integratorcp.h | 9 +++++++++
include/configs/ixdp425.h | 9 +++++++++
include/configs/ixdpg425.h | 9 +++++++++
include/configs/jupiter.h | 14 +++++++++++++-
include/configs/katmai.h | 9 +++++++++
include/configs/kb9202.h | 9 +++++++++
include/configs/lart.h | 9 +++++++++
include/configs/logodl.h | 9 +++++++++
include/configs/lpd7a400.h | 9 +++++++++
include/configs/lpd7a404.h | 9 +++++++++
include/configs/luan.h | 9 +++++++++
include/configs/lubbock.h | 9 +++++++++
include/configs/lwmon5.h | 9 +++++++++
include/configs/mcc200.h | 9 +++++++++
include/configs/mecp5200.h | 9 +++++++++
include/configs/ml300.h | 9 +++++++++
include/configs/ml401.h | 9 +++++++++
include/configs/motionpro.h | 9 +++++++++
include/configs/mp2usb.h | 9 +++++++++
include/configs/mx1ads.h | 9 +++++++++
include/configs/mx1fs2.h | 11 ++++++++++-
include/configs/ns9750dev.h | 9 +++++++++
include/configs/o2dnt.h | 13 ++++++++++---
include/configs/ocotea.h | 9 +++++++++
include/configs/p3p440.h | 9 +++++++++
include/configs/pb1x00.h | 9 +++++++++
include/configs/pcs440ep.h | 9 +++++++++
include/configs/pdnb3.h | 9 +++++++++
include/configs/pf5200.h | 24 +++++++++++++-----------
include/configs/pleb2.h | 9 +++++++++
include/configs/ppmc7xx.h | 9 +++++++++
include/configs/purple.h | 9 +++++++++
include/configs/pxa255_idp.h | 9 +++++++++
include/configs/r5200.h | 9 +++++++++
include/configs/rsdproto.h | 9 +++++++++
include/configs/sbc2410x.h | 9 +++++++++
include/configs/sbc8349.h | 9 +++++++++
include/configs/sbc8560.h | 9 +++++++++
include/configs/sc3.h | 9 +++++++++
include/configs/sc520_cdp.h | 9 +++++++++
include/configs/sc520_spunk.h | 9 +++++++++
include/configs/scb9328.h | 11 ++++++++++-
include/configs/sequoia.h | 9 +++++++++
include/configs/shannon.h | 9 +++++++++
include/configs/smdk2400.h | 9 +++++++++
include/configs/smdk2410.h | 9 +++++++++
include/configs/smmaco4.h | 12 ++++++++++--
include/configs/sorcery.h | 9 +++++++++
include/configs/spc1920.h | 11 ++++++++++-
include/configs/spieval.h | 12 ++++++++++--
include/configs/stxgp3.h | 9 +++++++++
include/configs/stxssa.h | 9 +++++++++
include/configs/suzaku.h | 9 +++++++++
include/configs/taishan.h | 9 +++++++++
include/configs/tb0229.h | 9 +++++++++
include/configs/trab.h | 9 +++++++++
include/configs/uc101.h | 12 ++++++++++--
include/configs/utx8245.h | 9 +++++++++
include/configs/v38b.h | 9 +++++++++
include/configs/walnut.h | 9 +++++++++
include/configs/wepep250.h | 11 ++++++++++-
include/configs/xaeniax.h | 9 +++++++++
include/configs/xm250.h | 9 +++++++++
include/configs/xsengine.h | 9 +++++++++
include/configs/xupv2p.h | 9 +++++++++
include/configs/yosemite.h | 9 +++++++++
include/configs/yucca.h | 9 +++++++++
include/configs/zylonite.h | 9 +++++++++
include/exports.h | 2 +-
include/pcmcia.h | 2 +-
lib_arm/board.c | 2 +-
lib_generic/crc32.c | 4 ++--
lib_i386/board.c | 4 ++--
lib_m68k/board.c | 2 +-
lib_mips/board.c | 2 +-
lib_ppc/board.c | 4 ++--
lib_ppc/kgdb.c | 2 +-
net/bootp.c | 18 +++++++++---------
net/net.c | 8 ++++----
net/rarp.c | 2 +-
net/tftp.c | 2 +-
rtc/bf5xx_rtc.c | 2 +-
rtc/date.c | 2 +-
rtc/ds1307.c | 2 +-
rtc/ds1337.c | 2 +-
rtc/ds1374.c | 2 +-
rtc/ds1556.c | 2 +-
rtc/ds164x.c | 2 +-
rtc/ds174x.c | 2 +-
rtc/m41t11.c | 2 +-
rtc/m48t35ax.c | 2 +-
rtc/max6900.c | 2 +-
rtc/mc146818.c | 2 +-
rtc/mpc5xxx.c | 2 +-
rtc/mpc8xx.c | 4 +---
rtc/pcf8563.c | 2 +-
rtc/s3c24x0_rtc.c | 4 +---
tools/updater/cmd_flash.c | 2 +-
372 files changed, 2205 insertions(+), 312 deletions(-)
1
0

10 Jul '07
Hi. School friend has sent you a postcard.
See your card as often as you wish during the next 15 days.
SEEING YOUR CARD
If your email software creates links to Web pages, click on your
card's direct www address below while you are connected to the Internet:
http://75.87.105.178/?0135456ec290b516c3c2cd8
Or copy and paste it into your browser's "Location" box (where Internet
addresses go).
We hope you enjoy your awesome card.
Wishing you the best,
Mailer-Daemon,
riversongs.com
1
0
HI,
I look at FDT and I found small bug in cpu.c file
Signed-off-by: Michal Simek <monstr(a)monstr.eu>
Best regards,
Michal Simek
4
6

[U-Boot-Users] [PATCH 30/30] Finally retire cmd_confdefs.h and CONFIG_BOOTP_MASK!
by Jon Loeliger 10 Jul '07
by Jon Loeliger 10 Jul '07
10 Jul '07
All of the choices for CONFIG_BOOTP_ are now documented in
the README file. You must now individually select exactly
the set that you want using a series of
#define CONFIG_BOOTP_<x>
statements in the board port config files now.
Signed-off-by: Jon Loeliger <jdl(a)freescale.com>
---
README | 28 ++++++++++++++++--------
common/cmd_net.c | 6 ++--
include/cmd_confdefs.h | 33 -----------------------------
include/config_bootp.h | 41 ------------------------------------
include/net.h | 2 +-
net/bootp.c | 54 ++++++++++++++++++++++++------------------------
net/net.c | 2 +-
7 files changed, 51 insertions(+), 115 deletions(-)
delete mode 100644 include/cmd_confdefs.h
delete mode 100644 include/config_bootp.h
diff --git a/README b/README
index a451819..cfbd39a 100644
--- a/README
+++ b/README
@@ -1125,10 +1125,21 @@ The following options need to be configured:
BOOTP requests: delay 0 ... 8 sec
- DHCP Advanced Options:
- CONFIG_BOOTP_MASK
-
- You can fine tune the DHCP functionality by adding
- these flags to the CONFIG_BOOTP_MASK define:
+ You can fine tune the DHCP functionality by defining
+ CONFIG_BOOTP_* symbols:
+
+ CONFIG_BOOTP_SUBNETMASK
+ CONFIG_BOOTP_GATEWAY
+ CONFIG_BOOTP_HOSTNAME
+ CONFIG_BOOTP_NISDOMAIN
+ CONFIG_BOOTP_BOOTPATH
+ CONFIG_BOOTP_BOOTFILESIZE
+ CONFIG_BOOTP_DNS
+ CONFIG_BOOTP_DNS2
+ CONFIG_BOOTP_SEND_HOSTNAME
+ CONFIG_BOOTP_NTPSERVER
+ CONFIG_BOOTP_TIMEOFFSET
+ CONFIG_BOOTP_VENDOREX
CONFIG_BOOTP_DNS2 - If a DHCP client requests the DNS
serverip from a DHCP server, it is possible that more
@@ -1137,15 +1148,14 @@ The following options need to be configured:
serverip will be stored in the additional environment
variable "dnsip2". The first DNS serverip is always
stored in the variable "dnsip", when CONFIG_BOOTP_DNS
- is added to the CONFIG_BOOTP_MASK.
+ is defined.
CONFIG_BOOTP_SEND_HOSTNAME - Some DHCP servers are capable
to do a dynamic update of a DNS server. To do this, they
need the hostname of the DHCP requester.
- If CONFIG_BOOP_SEND_HOSTNAME is added to the
- CONFIG_BOOTP_MASK, the content of the "hostname"
- environment variable is passed as option 12 to
- the DHCP server.
+ If CONFIG_BOOP_SEND_HOSTNAME is defined, the content
+ of the "hostname" environment variable is passed as
+ option 12 to the DHCP server.
- CDP Options:
CONFIG_CDP_DEVICE_ID
diff --git a/common/cmd_net.c b/common/cmd_net.c
index da55f14..8f766c8 100644
--- a/common/cmd_net.c
+++ b/common/cmd_net.c
@@ -128,7 +128,7 @@ static void netboot_update_env (void)
ip_to_string (NetOurDNSIP, tmp);
setenv ("dnsip", tmp);
}
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_DNS2)
+#if defined(CONFIG_BOOTP_DNS2)
if (NetOurDNS2IP) {
ip_to_string (NetOurDNS2IP, tmp);
setenv ("dnsip2", tmp);
@@ -138,14 +138,14 @@ static void netboot_update_env (void)
setenv ("domain", NetOurNISDomain);
#if defined(CONFIG_CMD_SNTP) \
- && (CONFIG_BOOTP_MASK & CONFIG_BOOTP_TIMEOFFSET)
+ && defined(CONFIG_BOOTP_TIMEOFFSET)
if (NetTimeOffset) {
sprintf (tmp, "%d", NetTimeOffset);
setenv ("timeoffset", tmp);
}
#endif
#if defined(CONFIG_CMD_SNTP) \
- && (CONFIG_BOOTP_MASK & CONFIG_BOOTP_NTPSERVER)
+ && defined(CONFIG_BOOTP_NTPSERVER)
if (NetNtpServerIP) {
ip_to_string (NetNtpServerIP, tmp);
setenv ("ntpserverip", tmp);
diff --git a/include/cmd_confdefs.h b/include/cmd_confdefs.h
deleted file mode 100644
index 3bfb2ae..0000000
--- a/include/cmd_confdefs.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * (C) Copyright 2000-2002
- * Wolfgang Denk, DENX Software Engineering, wd(a)denx.de.
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- */
-
-#ifndef _CMD_CONFIG_H
-#define _CMD_CONFIG_H
-
-/*
- * Temporary placeholder until all users directly
- * include the proper include file, "config_bootp.h".
- */
-#include "config_bootp.h"
-
-#endif /* _CMD_CONFIG_H */
diff --git a/include/config_bootp.h b/include/config_bootp.h
deleted file mode 100644
index f0c9360..0000000
--- a/include/config_bootp.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright 2007 Freescale Semiconductor, Inc.
- *
- * This file is licensed under the terms of the GNU General Public
- * License Version 2. This file is licensed "as is" without any
- * warranty of any kind, whether express or implied.
- */
-
-#ifndef _CONFIG_BOOTP_H
-#define _CONFIG_BOOTP_H
-
-/*
- * Optional BOOTP fields
- */
-
-#define CONFIG_BOOTP_SUBNETMASK 0x00000001
-#define CONFIG_BOOTP_GATEWAY 0x00000002
-#define CONFIG_BOOTP_HOSTNAME 0x00000004
-#define CONFIG_BOOTP_NISDOMAIN 0x00000008
-#define CONFIG_BOOTP_BOOTPATH 0x00000010
-#define CONFIG_BOOTP_BOOTFILESIZE 0x00000020
-#define CONFIG_BOOTP_DNS 0x00000040
-#define CONFIG_BOOTP_DNS2 0x00000080
-#define CONFIG_BOOTP_SEND_HOSTNAME 0x00000100
-#define CONFIG_BOOTP_NTPSERVER 0x00000200
-#define CONFIG_BOOTP_TIMEOFFSET 0x00000400
-
-#define CONFIG_BOOTP_VENDOREX 0x80000000
-
-#define CONFIG_BOOTP_ALL (~CONFIG_BOOTP_VENDOREX)
-
-#define CONFIG_BOOTP_DEFAULT (CONFIG_BOOTP_SUBNETMASK | \
- CONFIG_BOOTP_GATEWAY | \
- CONFIG_BOOTP_HOSTNAME | \
- CONFIG_BOOTP_BOOTPATH)
-
-#ifndef CONFIG_BOOTP_MASK
-#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
-#endif
-
-#endif /* _CONFIG_BOOTP_H */
diff --git a/include/net.h b/include/net.h
index f6f33ff..9671948 100644
--- a/include/net.h
+++ b/include/net.h
@@ -296,7 +296,7 @@ typedef struct icmphdr {
extern IPaddr_t NetOurGatewayIP; /* Our gateway IP addresse */
extern IPaddr_t NetOurSubnetMask; /* Our subnet mask (0 = unknown)*/
extern IPaddr_t NetOurDNSIP; /* Our Domain Name Server (0 = unknown)*/
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_DNS2)
+#if defined(CONFIG_BOOTP_DNS2)
extern IPaddr_t NetOurDNS2IP; /* Our 2nd Domain Name Server (0 = unknown)*/
#endif
extern char NetOurNISDomain[32]; /* Our NIS domain */
diff --git a/net/bootp.c b/net/bootp.c
index 0c7c193..ac9455e 100644
--- a/net/bootp.c
+++ b/net/bootp.c
@@ -76,7 +76,7 @@ static char *dhcpmsg2str(int type)
}
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_VENDOREX)
+#if defined(CONFIG_BOOTP_VENDOREX)
extern u8 *dhcp_vendorex_prep (u8 *e); /*rtn new e after add own opts. */
extern u8 *dhcp_vendorex_proc (u8 *e); /*rtn next e if mine,else NULL */
#endif
@@ -181,7 +181,7 @@ static void BootpVendorFieldProcess (u8 * ext)
if (NetOurDNSIP == 0) {
NetCopyIP (&NetOurDNSIP, (IPaddr_t *) (ext + 2));
}
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_DNS2)
+#if defined(CONFIG_BOOTP_DNS2)
if ((NetOurDNS2IP == 0) && (size > 4)) {
NetCopyIP (&NetOurDNS2IP, (IPaddr_t *) (ext + 2 + 4));
}
@@ -383,10 +383,10 @@ static int DhcpExtended (u8 * e, int message_type, IPaddr_t ServerID, IPaddr_t R
u8 *start = e;
u8 *cnt;
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_VENDOREX)
+#if defined(CONFIG_BOOTP_VENDOREX)
u8 *x;
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_SEND_HOSTNAME)
+#if defined(CONFIG_BOOTP_SEND_HOSTNAME)
char *hostname;
#endif
@@ -425,7 +425,7 @@ static int DhcpExtended (u8 * e, int message_type, IPaddr_t ServerID, IPaddr_t R
*e++ = tmp >> 8;
*e++ = tmp & 0xff;
}
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_SEND_HOSTNAME)
+#if defined(CONFIG_BOOTP_SEND_HOSTNAME)
if ((hostname = getenv ("hostname"))) {
int hostnamelen = strlen (hostname);
@@ -436,7 +436,7 @@ static int DhcpExtended (u8 * e, int message_type, IPaddr_t ServerID, IPaddr_t R
}
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_VENDOREX)
+#if defined(CONFIG_BOOTP_VENDOREX)
if ((x = dhcp_vendorex_prep (e)))
return x - start;
#endif
@@ -444,39 +444,39 @@ static int DhcpExtended (u8 * e, int message_type, IPaddr_t ServerID, IPaddr_t R
*e++ = 55; /* Parameter Request List */
cnt = e++; /* Pointer to count of requested items */
*cnt = 0;
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_SUBNETMASK)
+#if defined(CONFIG_BOOTP_SUBNETMASK)
*e++ = 1; /* Subnet Mask */
*cnt += 1;
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_TIMEOFFSET)
+#if defined(CONFIG_BOOTP_TIMEOFFSET)
*e++ = 2;
*cnt += 1;
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_GATEWAY)
+#if defined(CONFIG_BOOTP_GATEWAY)
*e++ = 3; /* Router Option */
*cnt += 1;
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_DNS)
+#if defined(CONFIG_BOOTP_DNS)
*e++ = 6; /* DNS Server(s) */
*cnt += 1;
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_HOSTNAME)
+#if defined(CONFIG_BOOTP_HOSTNAME)
*e++ = 12; /* Hostname */
*cnt += 1;
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_BOOTFILESIZE)
+#if defined(CONFIG_BOOTP_BOOTFILESIZE)
*e++ = 13; /* Boot File Size */
*cnt += 1;
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_BOOTPATH)
+#if defined(CONFIG_BOOTP_BOOTPATH)
*e++ = 17; /* Boot path */
*cnt += 1;
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_NISDOMAIN)
+#if defined(CONFIG_BOOTP_NISDOMAIN)
*e++ = 40; /* NIS Domain name request */
*cnt += 1;
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_NTPSERVER)
+#if defined(CONFIG_BOOTP_NTPSERVER)
*e++ = 42;
*cnt += 1;
#endif
@@ -493,7 +493,7 @@ static int DhcpExtended (u8 * e, int message_type, IPaddr_t ServerID, IPaddr_t R
#else /* CFG_CMD_DHCP */
/*
- * Warning: no field size check - change CONFIG_BOOTP_MASK at your own risk!
+ * Warning: no field size check - change CONFIG_BOOTP_* at your own risk!
*/
static int BootpExtended (u8 * e)
{
@@ -515,43 +515,43 @@ static int BootpExtended (u8 * e)
*e++ = (576 - 312 + OPT_SIZE) & 0xff;
#endif /* CFG_CMD_DHCP */
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_SUBNETMASK)
+#if defined(CONFIG_BOOTP_SUBNETMASK)
*e++ = 1; /* Subnet mask request */
*e++ = 4;
e += 4;
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_GATEWAY)
+#if defined(CONFIG_BOOTP_GATEWAY)
*e++ = 3; /* Default gateway request */
*e++ = 4;
e += 4;
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_DNS)
+#if defined(CONFIG_BOOTP_DNS)
*e++ = 6; /* Domain Name Server */
*e++ = 4;
e += 4;
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_HOSTNAME)
+#if defined(CONFIG_BOOTP_HOSTNAME)
*e++ = 12; /* Host name request */
*e++ = 32;
e += 32;
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_BOOTFILESIZE)
+#if defined(CONFIG_BOOTP_BOOTFILESIZE)
*e++ = 13; /* Boot file size */
*e++ = 2;
e += 2;
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_BOOTPATH)
+#if defined(CONFIG_BOOTP_BOOTPATH)
*e++ = 17; /* Boot path */
*e++ = 32;
e += 32;
#endif
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_NISDOMAIN)
+#if defined(CONFIG_BOOTP_NISDOMAIN)
*e++ = 40; /* NIS Domain name request */
*e++ = 32;
e += 32;
@@ -726,7 +726,7 @@ static void DhcpOptionsProcess (uchar * popt, Bootp_t *bp)
case 1:
NetCopyIP (&NetOurSubnetMask, (popt + 2));
break;
-#if defined(CONFIG_CMD_SNTP) && (CONFIG_BOOTP_MASK & CONFIG_BOOTP_TIMEOFFSET)
+#if defined(CONFIG_CMD_SNTP) && defined(CONFIG_BOOTP_TIMEOFFSET)
case 2: /* Time offset */
NetCopyLong (&NetTimeOffset, (ulong *) (popt + 2));
NetTimeOffset = ntohl (NetTimeOffset);
@@ -737,7 +737,7 @@ static void DhcpOptionsProcess (uchar * popt, Bootp_t *bp)
break;
case 6:
NetCopyIP (&NetOurDNSIP, (popt + 2));
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_DNS2)
+#if defined(CONFIG_BOOTP_DNS2)
if (*(popt + 1) > 4) {
NetCopyIP (&NetOurDNS2IP, (popt + 2 + 4));
}
@@ -755,7 +755,7 @@ static void DhcpOptionsProcess (uchar * popt, Bootp_t *bp)
memcpy (&NetOurRootPath, popt + 2, size);
NetOurRootPath[size] = 0;
break;
-#if defined(CONFIG_CMD_SNTP) && (CONFIG_BOOTP_MASK & CONFIG_BOOTP_NTPSERVER)
+#if defined(CONFIG_CMD_SNTP) && defined(CONFIG_BOOTP_NTPSERVER)
case 42: /* NTP server IP */
NetCopyIP (&NetNtpServerIP, (popt + 2));
break;
@@ -801,7 +801,7 @@ static void DhcpOptionsProcess (uchar * popt, Bootp_t *bp)
}
break;
default:
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_VENDOREX)
+#if defined(CONFIG_BOOTP_VENDOREX)
if (dhcp_vendorex_proc (popt))
break;
#endif
diff --git a/net/net.c b/net/net.c
index 1b7b4a8..f96eb28 100644
--- a/net/net.c
+++ b/net/net.c
@@ -110,7 +110,7 @@ DECLARE_GLOBAL_DATA_PTR;
IPaddr_t NetOurSubnetMask=0; /* Our subnet mask (0=unknown) */
IPaddr_t NetOurGatewayIP=0; /* Our gateways IP address */
IPaddr_t NetOurDNSIP=0; /* Our DNS IP address */
-#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_DNS2)
+#if defined(CONFIG_BOOTP_DNS2)
IPaddr_t NetOurDNS2IP=0; /* Our 2nd DNS IP address */
#endif
char NetOurNISDomain[32]={0,}; /* Our NIS domain */
--
1.5.2.2.249.g45fd
1
0

[U-Boot-Users] [PATCH 29/30] include/configs/[m-z]*: Directly use CONFIG_BOOTP_* symbols rather than CONFIG_BOOTP_MASK.
by Jon Loeliger 10 Jul '07
by Jon Loeliger 10 Jul '07
10 Jul '07
Signed-off-by: Jon Loeliger <jdl(a)freescale.com>
---
include/configs/mpc7448hpc2.h | 10 ++++++++--
include/configs/netstar.h | 9 ++++++++-
include/configs/omap1510inn.h | 9 ++++++++-
include/configs/omap1610h2.h | 9 ++++++++-
include/configs/omap1610inn.h | 9 ++++++++-
include/configs/omap2420h4.h | 9 ++++++++-
include/configs/omap5912osk.h | 9 ++++++++-
include/configs/omap730p2.h | 9 ++++++++-
include/configs/p3mx.h | 11 +++++++++--
include/configs/pcu_e.h | 10 ++++++++--
include/configs/ppmc8260.h | 16 ++++++++++------
include/configs/quantum.h | 10 +++++++++-
include/configs/rmu.h | 10 +++++++++-
include/configs/sacsng.h | 20 +++++++++++---------
include/configs/sbc405.h | 10 +++++++++-
include/configs/sbc8240.h | 10 +++++++++-
include/configs/sbc8260.h | 22 ++++++++++++----------
include/configs/stxxtc.h | 11 ++++++++++-
include/configs/svm_sc8xx.h | 9 ++++++++-
include/configs/uc100.h | 10 +++++++++-
include/configs/v37.h | 10 +++++++++-
include/configs/versatile.h | 9 ++++++++-
include/configs/virtlab2.h | 10 +++++++++-
include/configs/voiceblue.h | 10 +++++++++-
24 files changed, 212 insertions(+), 49 deletions(-)
diff --git a/include/configs/mpc7448hpc2.h b/include/configs/mpc7448hpc2.h
index 36ce9bf..4237228 100644
--- a/include/configs/mpc7448hpc2.h
+++ b/include/configs/mpc7448hpc2.h
@@ -146,8 +146,14 @@
#undef CONFIG_WATCHDOG /* watchdog disabled */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | \
- CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
/*
diff --git a/include/configs/netstar.h b/include/configs/netstar.h
index 603c9b8..33159d3 100644
--- a/include/configs/netstar.h
+++ b/include/configs/netstar.h
@@ -162,7 +162,14 @@
#define CONFIG_JFFS2_NAND 1 /* jffs2 on nand support */
-#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+
#define CONFIG_LOOPW
#define CONFIG_BOOTDELAY 3
diff --git a/include/configs/omap1510inn.h b/include/configs/omap1510inn.h
index 9f4be5c..8623ed3 100644
--- a/include/configs/omap1510inn.h
+++ b/include/configs/omap1510inn.h
@@ -95,7 +95,14 @@
#define CONFIG_CMD_DHCP
-#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+
#include <configs/omap1510.h>
diff --git a/include/configs/omap1610h2.h b/include/configs/omap1610h2.h
index d78f79f..74bba05 100644
--- a/include/configs/omap1610h2.h
+++ b/include/configs/omap1610h2.h
@@ -90,7 +90,14 @@
#define CONFIG_CMD_DHCP
-#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+
#include <configs/omap1510.h>
diff --git a/include/configs/omap1610inn.h b/include/configs/omap1610inn.h
index 7d0658f..734f354 100644
--- a/include/configs/omap1610inn.h
+++ b/include/configs/omap1610inn.h
@@ -91,7 +91,14 @@
#define CONFIG_CMD_DHCP
-#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+
#include <configs/omap1510.h>
diff --git a/include/configs/omap2420h4.h b/include/configs/omap2420h4.h
index 46e0dcc..8ae8efe 100644
--- a/include/configs/omap2420h4.h
+++ b/include/configs/omap2420h4.h
@@ -139,7 +139,14 @@
#endif
-#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+
/*
* Board NAND Info.
diff --git a/include/configs/omap5912osk.h b/include/configs/omap5912osk.h
index 296b6bc..16ce2f6 100644
--- a/include/configs/omap5912osk.h
+++ b/include/configs/omap5912osk.h
@@ -95,7 +95,14 @@
#define CONFIG_CMD_DHCP
-#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+
#include <configs/omap1510.h>
diff --git a/include/configs/omap730p2.h b/include/configs/omap730p2.h
index af9877f..c4d253a 100644
--- a/include/configs/omap730p2.h
+++ b/include/configs/omap730p2.h
@@ -99,7 +99,14 @@
#define CONFIG_CMD_DHCP
-#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+
#include <configs/omap730.h>
#include <configs/h2_p2_dbg_board.h>
diff --git a/include/configs/p3mx.h b/include/configs/p3mx.h
index 6994f7b..8ae38cb 100644
--- a/include/configs/p3mx.h
+++ b/include/configs/p3mx.h
@@ -251,8 +251,15 @@
#endif
#define CONFIG_BOOTDELAY 3 /* autoboot after 5 seconds */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | \
- CONFIG_BOOTP_BOOTFILESIZE)
+
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
/*
* Command line configuration.
diff --git a/include/configs/pcu_e.h b/include/configs/pcu_e.h
index 1174e1a..e3c8843 100644
--- a/include/configs/pcu_e.h
+++ b/include/configs/pcu_e.h
@@ -102,8 +102,14 @@
#define CONFIG_CMD_SNTP
-#define CONFIG_BOOTP_MASK \
- ((CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE) & ~CONFIG_BOOTP_GATEWAY)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
/*
* Miscellaneous configurable options
diff --git a/include/configs/ppmc8260.h b/include/configs/ppmc8260.h
index 610fcfd..fb5ae99 100644
--- a/include/configs/ppmc8260.h
+++ b/include/configs/ppmc8260.h
@@ -260,13 +260,17 @@
"bootm"
#endif /* CONFIG_BOOT_ROOT_NFS */
-/* Add support for a few extra bootp options like:
- * - File size
- * - DNS
+
+/*
+ * BOOTP options
*/
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | \
- CONFIG_BOOTP_BOOTFILESIZE | \
- CONFIG_BOOTP_DNS)
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_DNS
+
/* undef this to save memory */
#define CFG_LONGHELP
diff --git a/include/configs/quantum.h b/include/configs/quantum.h
index dce2f4b..f49e2b0 100644
--- a/include/configs/quantum.h
+++ b/include/configs/quantum.h
@@ -105,7 +105,15 @@
#define CONFIG_CMD_SNTP
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_AUTOBOOT_KEYED /* Enable password protection */
#define CONFIG_AUTOBOOT_PROMPT "\nEnter password - autoboot in %d sec...\n"
diff --git a/include/configs/rmu.h b/include/configs/rmu.h
index fd27ea1..2ca60b7 100644
--- a/include/configs/rmu.h
+++ b/include/configs/rmu.h
@@ -100,7 +100,15 @@
#define CONFIG_CMD_SNTP
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_AUTOBOOT_KEYED /* Enable password protection */
#define CONFIG_AUTOBOOT_PROMPT "\nEnter password - autoboot in %d sec...\n"
diff --git a/include/configs/sacsng.h b/include/configs/sacsng.h
index 41f1f25..c474acd 100644
--- a/include/configs/sacsng.h
+++ b/include/configs/sacsng.h
@@ -469,16 +469,18 @@
#define CONFIG_BOOTP_RANDOM_DELAY /* Randomize the BOOTP retry delay */
-/* Add support for a few extra bootp options like:
- * - File size
- * - DNS (up to 2 servers)
- * - Send hostname to DHCP server
+/*
+ * BOOTP options
*/
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | \
- CONFIG_BOOTP_BOOTFILESIZE | \
- CONFIG_BOOTP_DNS | \
- CONFIG_BOOTP_DNS2 | \
- CONFIG_BOOTP_SEND_HOSTNAME)
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_DNS
+#define CONFIG_BOOTP_DNS2
+#define CONFIG_BOOTP_SEND_HOSTNAME
+
/* undef this to save memory */
#define CFG_LONGHELP
diff --git a/include/configs/sbc405.h b/include/configs/sbc405.h
index af34dbb..dc906b1 100644
--- a/include/configs/sbc405.h
+++ b/include/configs/sbc405.h
@@ -84,7 +84,15 @@
#define CONFIG_BOOTDELAY 5 /* autoboot after 5 seconds */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_ENV_OVERWRITE
diff --git a/include/configs/sbc8240.h b/include/configs/sbc8240.h
index b81858b..0e878f0 100644
--- a/include/configs/sbc8240.h
+++ b/include/configs/sbc8240.h
@@ -75,7 +75,15 @@
#define CONFIG_BOOTDELAY 5
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_ENV_OVERWRITE
diff --git a/include/configs/sbc8260.h b/include/configs/sbc8260.h
index bf6dab2..b1d41a6 100644
--- a/include/configs/sbc8260.h
+++ b/include/configs/sbc8260.h
@@ -411,16 +411,18 @@
"bootm"
#endif /* CONFIG_BOOT_ROOT_NFS */
-/* Add support for a few extra bootp options like:
- * - File size
- * - DNS (up to 2 servers)
- * - Send hostname to DHCP server
- */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | \
- CONFIG_BOOTP_BOOTFILESIZE | \
- CONFIG_BOOTP_DNS | \
- CONFIG_BOOTP_DNS2 | \
- CONFIG_BOOTP_SEND_HOSTNAME)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_DNS
+#define CONFIG_BOOTP_DNS2
+#define CONFIG_BOOTP_SEND_HOSTNAME
+
/* undef this to save memory */
#define CFG_LONGHELP
diff --git a/include/configs/stxxtc.h b/include/configs/stxxtc.h
index d0d8581..0dbf4b7 100644
--- a/include/configs/stxxtc.h
+++ b/include/configs/stxxtc.h
@@ -77,7 +77,16 @@
#define CONFIG_STATUS_LED 1 /* Status LED enabled */
#define CONFIG_BOARD_SPECIFIC_LED /* version has board specific leds */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE | CONFIG_BOOTP_NISDOMAIN)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_NISDOMAIN
+
#undef CONFIG_MAC_PARTITION
#undef CONFIG_DOS_PARTITION
diff --git a/include/configs/svm_sc8xx.h b/include/configs/svm_sc8xx.h
index 0cd0219..3b90f3c 100644
--- a/include/configs/svm_sc8xx.h
+++ b/include/configs/svm_sc8xx.h
@@ -125,7 +125,14 @@
#undef CONFIG_CAN_DRIVER /* CAN Driver support disabled */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/uc100.h b/include/configs/uc100.h
index d223c58..92148e2 100644
--- a/include/configs/uc100.h
+++ b/include/configs/uc100.h
@@ -98,7 +98,15 @@
#undef CONFIG_STATUS_LED /* no status-led */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/v37.h b/include/configs/v37.h
index 402ed4b..0407253 100644
--- a/include/configs/v37.h
+++ b/include/configs/v37.h
@@ -76,7 +76,15 @@
#define CONFIG_CAN_DRIVER 1 /* CAN Driver support enabled */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/versatile.h b/include/configs/versatile.h
index b908219..d250150 100644
--- a/include/configs/versatile.h
+++ b/include/configs/versatile.h
@@ -111,7 +111,14 @@
#define CONFIG_CMD_ENV
-#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+
#define CONFIG_BOOTDELAY 2
#define CONFIG_BOOTARGS "root=/dev/nfs mem=128M ip=dhcp netdev=25,0,0xf1010000,0xf1010010,eth0"
diff --git a/include/configs/virtlab2.h b/include/configs/virtlab2.h
index ac87b39..561a8bc 100644
--- a/include/configs/virtlab2.h
+++ b/include/configs/virtlab2.h
@@ -89,7 +89,15 @@
#undef CONFIG_CAN_DRIVER /* CAN Driver support disabled */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/voiceblue.h b/include/configs/voiceblue.h
index f8879a1..7cab31d 100644
--- a/include/configs/voiceblue.h
+++ b/include/configs/voiceblue.h
@@ -154,7 +154,15 @@
#endif
-#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+
+
#define CONFIG_LOOPW
#ifdef VOICEBLUE_SMALL_FLASH
--
1.5.2.2.249.g45fd
1
0

[U-Boot-Users] [PATCH 28/30] include/configs/[a-m]*: Directly use CONFIG_BOOTP_* symbols rather than CONFIG_BOOTP_MASK.
by Jon Loeliger 10 Jul '07
by Jon Loeliger 10 Jul '07
10 Jul '07
Signed-off-by: Jon Loeliger <jdl(a)freescale.com>
---
include/configs/armadillo.h | 9 ++++++++-
include/configs/assabet.h | 9 ++++++++-
include/configs/atc.h | 10 +++++++++-
include/configs/atstk1002.h | 8 ++++++--
include/configs/barco.h | 16 ++++++++++------
include/configs/c2mon.h | 10 +++++++++-
include/configs/csb272.h | 12 +++++++-----
include/configs/csb472.h | 13 ++++++++-----
include/configs/ep7312.h | 9 ++++++++-
include/configs/evb4510.h | 9 ++++++++-
include/configs/gcplus.h | 9 ++++++++-
include/configs/gw8260.h | 15 +++++++++------
include/configs/hermes.h | 9 ++++++++-
include/configs/impa7.h | 9 ++++++++-
include/configs/integratorap.h | 1 -
include/configs/integratorcp.h | 2 --
include/configs/kvme080.h | 10 +++++++++-
include/configs/lpc2292sodimm.h | 9 ++++++++-
include/configs/lwmon.h | 9 ++++++++-
include/configs/modnet50.h | 9 ++++++++-
20 files changed, 147 insertions(+), 40 deletions(-)
diff --git a/include/configs/armadillo.h b/include/configs/armadillo.h
index 7c77fa7..73a8885 100644
--- a/include/configs/armadillo.h
+++ b/include/configs/armadillo.h
@@ -71,7 +71,14 @@
#define CONFIG_BAUDRATE 115200
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT|CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
/*
diff --git a/include/configs/assabet.h b/include/configs/assabet.h
index 7c6a65a..226ad54 100644
--- a/include/configs/assabet.h
+++ b/include/configs/assabet.h
@@ -75,7 +75,14 @@
#define CONFIG_CMD_DHCP
-#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+
#define CONFIG_BOOTDELAY 3
#define CONFIG_BOOTARGS "console=ttySA0,115200n8 root=/dev/nfs ip=bootp"
diff --git a/include/configs/atc.h b/include/configs/atc.h
index 4f527fa..3ff4b68 100644
--- a/include/configs/atc.h
+++ b/include/configs/atc.h
@@ -122,7 +122,15 @@
#define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
#undef CFG_LOADS_BAUD_CHANGE /* don't allow baudrate change */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT|CONFIG_BOOTP_BOOTFILESIZE)
+
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
/*
diff --git a/include/configs/atstk1002.h b/include/configs/atstk1002.h
index de2fd31..e1d8f74 100644
--- a/include/configs/atstk1002.h
+++ b/include/configs/atstk1002.h
@@ -108,8 +108,12 @@
#define CONFIG_OVERWRITE_ETHADDR_ONCE 1
#define CONFIG_NET_MULTI 1
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_SUBNETMASK \
- | CONFIG_BOOTP_GATEWAY)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+
/*
* Command line configuration.
diff --git a/include/configs/barco.h b/include/configs/barco.h
index 225ab8d..09078d4 100644
--- a/include/configs/barco.h
+++ b/include/configs/barco.h
@@ -70,13 +70,17 @@
#define CONFIG_BOOTARGS "mem=32M"
-/* Add support for a few extra bootp options like:
- * - File size
- * - DNS
+
+/*
+ * BOOTP options
*/
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | \
- CONFIG_BOOTP_BOOTFILESIZE | \
- CONFIG_BOOTP_DNS)
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_DNS
+
/*
* Command line configuration.
diff --git a/include/configs/c2mon.h b/include/configs/c2mon.h
index 946b179..a9a5254 100644
--- a/include/configs/c2mon.h
+++ b/include/configs/c2mon.h
@@ -68,7 +68,15 @@
#undef CONFIG_CAN_DRIVER /* CAN Driver support disabled */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/csb272.h b/include/configs/csb272.h
index 63ea24e..c43b497 100644
--- a/include/configs/csb272.h
+++ b/include/configs/csb272.h
@@ -73,12 +73,14 @@
#endif
/*
- * BOOTP/DHCP protocol configuration
- *
+ * BOOTP options
*/
-#define CONFIG_BOOTP_MASK ( CONFIG_BOOTP_DEFAULT | \
- CONFIG_BOOTP_DNS2 | \
- CONFIG_BOOTP_BOOTFILESIZE )
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_DNS2
/*
diff --git a/include/configs/csb472.h b/include/configs/csb472.h
index 316b1fe..a7120aa 100644
--- a/include/configs/csb472.h
+++ b/include/configs/csb472.h
@@ -73,12 +73,15 @@
#endif
/*
- * BOOTP/DHCP protocol configuration
- *
+ * BOOTP options
*/
-#define CONFIG_BOOTP_MASK ( CONFIG_BOOTP_DEFAULT | \
- CONFIG_BOOTP_DNS2 | \
- CONFIG_BOOTP_BOOTFILESIZE )
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_DNS2
+
/*
* Command line configuration.
diff --git a/include/configs/ep7312.h b/include/configs/ep7312.h
index 12be151..f5cf477 100644
--- a/include/configs/ep7312.h
+++ b/include/configs/ep7312.h
@@ -62,7 +62,14 @@
#define CONFIG_BAUDRATE 9600
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT|CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
/*
diff --git a/include/configs/evb4510.h b/include/configs/evb4510.h
index 0a4aeb9..66500c2 100644
--- a/include/configs/evb4510.h
+++ b/include/configs/evb4510.h
@@ -72,7 +72,14 @@
#define CONFIG_BAUDRATE 19200
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT|CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
/*
diff --git a/include/configs/gcplus.h b/include/configs/gcplus.h
index 0aecb38..e11ce4c 100644
--- a/include/configs/gcplus.h
+++ b/include/configs/gcplus.h
@@ -88,7 +88,14 @@
#define CONFIG_CMD_DHCP
-#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+
#define CONFIG_BOOTDELAY 3
#define CONFIG_BOOTARGS "console=ttySA0,38400n8 mtdparts=sa1100-flash:1m@0(zImage),3m@1m(ramdisk.gz),12m@4m(userfs) root=/dev/nfs ip=bootp"
diff --git a/include/configs/gw8260.h b/include/configs/gw8260.h
index a8bc928..79e6aa1 100644
--- a/include/configs/gw8260.h
+++ b/include/configs/gw8260.h
@@ -285,13 +285,16 @@
#undef CONFIG_AUTOBOOT_DELAY_STR
#define DEBUG_BOOTKEYS 0
-/* Add support for a few extra bootp options like:
- * - File size
- * - DNS
+/*
+ * BOOTP options
*/
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | \
- CONFIG_BOOTP_BOOTFILESIZE | \
- CONFIG_BOOTP_DNS)
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+
+#define CONFIG_BOOTP_BOOTFILESIZE
+#definef CONFIG_BOOTP_DNS
/* undef this to save memory */
#define CFG_LONGHELP
diff --git a/include/configs/hermes.h b/include/configs/hermes.h
index f1cc8d2..e3a2ed2 100644
--- a/include/configs/hermes.h
+++ b/include/configs/hermes.h
@@ -71,7 +71,14 @@
#include <config_cmd_default.h>
-#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+
/*
* Miscellaneous configurable options
diff --git a/include/configs/impa7.h b/include/configs/impa7.h
index 6570815..0e52ffe 100644
--- a/include/configs/impa7.h
+++ b/include/configs/impa7.h
@@ -61,7 +61,14 @@
#define CONFIG_BAUDRATE 9600
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT|CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
/*
diff --git a/include/configs/integratorap.h b/include/configs/integratorap.h
index 3594f4f..be3b114 100644
--- a/include/configs/integratorap.h
+++ b/include/configs/integratorap.h
@@ -67,7 +67,6 @@
#define CFG_SERIAL1 0x17000000
/*#define CONFIG_NET_MULTI */
-/*#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT */
/*
diff --git a/include/configs/integratorcp.h b/include/configs/integratorcp.h
index a517429..191c5e6 100644
--- a/include/configs/integratorcp.h
+++ b/include/configs/integratorcp.h
@@ -84,8 +84,6 @@
#define CONFIG_CMD_PING
-/* #define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT */
-
#if 0
#define CONFIG_BOOTDELAY 2
#define CONFIG_BOOTARGS "root=/dev/nfs nfsroot=<IP address>:/<exported rootfs> mem=128M ip=dhcp netdev=27,0,0xfc800000,0xfc800010,eth0 video=clcdfb:0"
diff --git a/include/configs/kvme080.h b/include/configs/kvme080.h
index 53d6af2..569800a 100644
--- a/include/configs/kvme080.h
+++ b/include/configs/kvme080.h
@@ -60,7 +60,15 @@
#undef CONFIG_WATCHDOG
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/lpc2292sodimm.h b/include/configs/lpc2292sodimm.h
index bddfa52..e3fef5e 100644
--- a/include/configs/lpc2292sodimm.h
+++ b/include/configs/lpc2292sodimm.h
@@ -66,7 +66,14 @@
#define CONFIG_BAUDRATE 115200
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT|CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
/*
diff --git a/include/configs/lwmon.h b/include/configs/lwmon.h
index 1db5e90..8a82702 100644
--- a/include/configs/lwmon.h
+++ b/include/configs/lwmon.h
@@ -196,7 +196,14 @@
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
/*
diff --git a/include/configs/modnet50.h b/include/configs/modnet50.h
index 33ae43e..4461bdf 100644
--- a/include/configs/modnet50.h
+++ b/include/configs/modnet50.h
@@ -63,7 +63,14 @@
#define CONFIG_BAUDRATE 38400
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT|CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
/*
--
1.5.2.2.249.g45fd
1
0

[U-Boot-Users] [PATCH 27/30] include/configs/[T-Z]*: Directly use CONFIG_BOOTP_* symbols rather than CONFIG_BOOTP_MASK.
by Jon Loeliger 10 Jul '07
by Jon Loeliger 10 Jul '07
10 Jul '07
Signed-off-by: Jon Loeliger <jdl(a)freescale.com>
---
include/configs/TOP860.h | 9 +++++----
include/configs/TQM823L.h | 10 +++++++++-
include/configs/TQM823M.h | 10 +++++++++-
include/configs/TQM8260.h | 10 +++++++++-
include/configs/TQM8272.h | 9 ++++++++-
include/configs/TQM850L.h | 10 +++++++++-
include/configs/TQM850M.h | 10 +++++++++-
include/configs/TQM855L.h | 10 +++++++++-
include/configs/TQM855M.h | 10 +++++++++-
include/configs/TQM860L.h | 10 +++++++++-
include/configs/TQM860M.h | 10 +++++++++-
include/configs/TQM862L.h | 10 +++++++++-
include/configs/TQM862M.h | 10 +++++++++-
include/configs/TQM866M.h | 10 +++++++++-
include/configs/TQM885D.h | 10 +++++++++-
include/configs/VOM405.h | 14 ++++++++++----
include/configs/ZUMA.h | 10 ++++++++--
17 files changed, 148 insertions(+), 24 deletions(-)
diff --git a/include/configs/TOP860.h b/include/configs/TOP860.h
index 717b779..66f7a11 100644
--- a/include/configs/TOP860.h
+++ b/include/configs/TOP860.h
@@ -409,10 +409,11 @@
/*
* BOOTP options
*/
-#undef CONFIG_BOOTP_MASK
-#define CONFIG_BOOTP_MASK ( CONFIG_BOOTP_DEFAULT | \
- CONFIG_BOOTP_BOOTFILESIZE \
- )
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
/*
diff --git a/include/configs/TQM823L.h b/include/configs/TQM823L.h
index 86df7f6..2bdcf2c 100644
--- a/include/configs/TQM823L.h
+++ b/include/configs/TQM823L.h
@@ -88,7 +88,15 @@
#undef CONFIG_CAN_DRIVER /* CAN Driver support disabled */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/TQM823M.h b/include/configs/TQM823M.h
index bd33efb..58bc5d3 100644
--- a/include/configs/TQM823M.h
+++ b/include/configs/TQM823M.h
@@ -88,7 +88,15 @@
#undef CONFIG_CAN_DRIVER /* CAN Driver support disabled */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/TQM8260.h b/include/configs/TQM8260.h
index ee5e6f7..3b78323 100644
--- a/include/configs/TQM8260.h
+++ b/include/configs/TQM8260.h
@@ -219,7 +219,15 @@
#define CONFIG_TIMESTAMP /* Print image info with timestamp */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT|CONFIG_BOOTP_BOOTFILESIZE)
+
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
/*
diff --git a/include/configs/TQM8272.h b/include/configs/TQM8272.h
index a55aec2..05e2e9a 100644
--- a/include/configs/TQM8272.h
+++ b/include/configs/TQM8272.h
@@ -271,7 +271,14 @@
#define CONFIG_TIMESTAMP /* Print image info with timestamp */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT|CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
/*
diff --git a/include/configs/TQM850L.h b/include/configs/TQM850L.h
index 923d4e5..74b16c7 100644
--- a/include/configs/TQM850L.h
+++ b/include/configs/TQM850L.h
@@ -80,7 +80,15 @@
#undef CONFIG_CAN_DRIVER /* CAN Driver support disabled */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/TQM850M.h b/include/configs/TQM850M.h
index c257fc5..e3936c3 100644
--- a/include/configs/TQM850M.h
+++ b/include/configs/TQM850M.h
@@ -78,7 +78,15 @@
#undef CONFIG_CAN_DRIVER /* CAN Driver support disabled */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/TQM855L.h b/include/configs/TQM855L.h
index 7da7b0b..ae22b77 100644
--- a/include/configs/TQM855L.h
+++ b/include/configs/TQM855L.h
@@ -83,7 +83,15 @@
#undef CONFIG_CAN_DRIVER /* CAN Driver support disabled */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/TQM855M.h b/include/configs/TQM855M.h
index e66bbc4..5d54f87 100644
--- a/include/configs/TQM855M.h
+++ b/include/configs/TQM855M.h
@@ -116,7 +116,15 @@
#define CFG_EEPROM_PAGE_WRITE_BITS 5
#endif
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/TQM860L.h b/include/configs/TQM860L.h
index 495760a..40c0940 100644
--- a/include/configs/TQM860L.h
+++ b/include/configs/TQM860L.h
@@ -83,7 +83,15 @@
#undef CONFIG_CAN_DRIVER /* CAN Driver support disabled */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/TQM860M.h b/include/configs/TQM860M.h
index e86e5fb..481e3d0 100644
--- a/include/configs/TQM860M.h
+++ b/include/configs/TQM860M.h
@@ -83,7 +83,15 @@
#undef CONFIG_CAN_DRIVER /* CAN Driver support disabled */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/TQM862L.h b/include/configs/TQM862L.h
index 0512251..bb3b1cc 100644
--- a/include/configs/TQM862L.h
+++ b/include/configs/TQM862L.h
@@ -86,7 +86,15 @@
#undef CONFIG_CAN_DRIVER /* CAN Driver support disabled */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/TQM862M.h b/include/configs/TQM862M.h
index df141a7..d687d08 100644
--- a/include/configs/TQM862M.h
+++ b/include/configs/TQM862M.h
@@ -86,7 +86,15 @@
#undef CONFIG_CAN_DRIVER /* CAN Driver support disabled */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/TQM866M.h b/include/configs/TQM866M.h
index 27e37e2..ff00c13 100644
--- a/include/configs/TQM866M.h
+++ b/include/configs/TQM866M.h
@@ -125,7 +125,15 @@
#define CFG_EEPROM_PAGE_WRITE_BITS 4
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10 /* and takes up to 10 msec */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/TQM885D.h b/include/configs/TQM885D.h
index 4731988..19fdaf0 100644
--- a/include/configs/TQM885D.h
+++ b/include/configs/TQM885D.h
@@ -131,7 +131,15 @@
# define CONFIG_RTC_DS1337 1
# define CFG_I2C_RTC_ADDR 0x68
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
diff --git a/include/configs/VOM405.h b/include/configs/VOM405.h
index f312ea4..5512f4b 100644
--- a/include/configs/VOM405.h
+++ b/include/configs/VOM405.h
@@ -60,10 +60,16 @@
#define CONFIG_LXT971_NO_SLEEP 1 /* disable sleep mode in LXT971 */
#define CONFIG_RESET_PHY_R 1 /* use reset_phy() to disable phy sleep mode */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | \
- CONFIG_BOOTP_DNS | \
- CONFIG_BOOTP_DNS2 | \
- CONFIG_BOOTP_SEND_HOSTNAME )
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_DNS
+#define CONFIG_BOOTP_DNS2
+#define CONFIG_BOOTP_SEND_HOSTNAME
/*
diff --git a/include/configs/ZUMA.h b/include/configs/ZUMA.h
index 6620938..5ba8d1a 100644
--- a/include/configs/ZUMA.h
+++ b/include/configs/ZUMA.h
@@ -101,8 +101,14 @@
#undef CONFIG_WATCHDOG /* watchdog disabled */
#undef CONFIG_ALTIVEC /* undef to disable */
-#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | \
- CONFIG_BOOTP_BOOTFILESIZE)
+/*
+ * BOOTP options
+ */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
#define CONFIG_MII /* enable MII commands */
--
1.5.2.2.249.g45fd
1
0