summaryrefslogtreecommitdiff
path: root/include/cmd_confdefs.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2007-06-11 19:01:34 -0500
committerWolfgang Denk <wd@denx.de>2007-07-04 00:23:07 +0200
commitec63b10b61fd68238d4c15c1cd04c0b38228e2c1 (patch)
tree048187d5fb42b35771e2964b03f01d008065f1b1 /include/cmd_confdefs.h
parent98c440bee623ecdd5322852732b883e696fb2140 (diff)
downloadu-boot-imx-ec63b10b61fd68238d4c15c1cd04c0b38228e2c1.zip
u-boot-imx-ec63b10b61fd68238d4c15c1cd04c0b38228e2c1.tar.gz
u-boot-imx-ec63b10b61fd68238d4c15c1cd04c0b38228e2c1.tar.bz2
Introduce initial versions of new Command Config files.
Derive three new files from cmd_confdefs.h: config_bootp.h - Has BOOTP related config options, not commands config_cmd_all.h - Has a CONFIG_CMD_* definition for every command config_cmd_default.h - Has a CONFIG_CMD_* definition for default cmds. For now, include "config_bootp.h" for compatability until all users of it directly include it properly. Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/cmd_confdefs.h')
-rw-r--r--include/cmd_confdefs.h30
1 files changed, 3 insertions, 27 deletions
diff --git a/include/cmd_confdefs.h b/include/cmd_confdefs.h
index b3ccdce..9b4545f 100644
--- a/include/cmd_confdefs.h
+++ b/include/cmd_confdefs.h
@@ -155,33 +155,9 @@
/*
- * optional BOOTP fields
+ * Temporary placeholder until all users directly
+ * include the proper include file, "config_bootp.h".
*/
-
-#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
+#include "config_bootp.h"
#endif /* _CMD_CONFIG_H */