summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-08-26 21:24:35 +0800
committerThomas Chou <thomas@wytron.com.tw>2015-10-23 07:28:37 +0800
commitca1d80c02f6b5c227311e287bb05122e04ade1c6 (patch)
tree35c00c385d1c33ad3651684f37c83c10025a105f /include
parent9f13b6d147dc74f2400ce18d9d4005ba53f21fd3 (diff)
downloadtalos-obmc-uboot-ca1d80c02f6b5c227311e287bb05122e04ade1c6.tar.gz
talos-obmc-uboot-ca1d80c02f6b5c227311e287bb05122e04ade1c6.zip
nios2: move command line configuration to Kconfig
This patch moves command line configuration from board header file to board defconfig in the way of Kconfig. The change passed savedefconfig. This fixes warnings such as : "CONFIG_SYS_HUSH_PARSER" redefined, when "Use hush shell" is selected with menuconfig, etc. Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Diffstat (limited to 'include')
-rw-r--r--include/configs/nios2-generic.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/configs/nios2-generic.h b/include/configs/nios2-generic.h
index 945cbd4ee7..5bb776859d 100644
--- a/include/configs/nios2-generic.h
+++ b/include/configs/nios2-generic.h
@@ -73,13 +73,8 @@
#define CONFIG_BOOTP_HOSTNAME
/*
- * Command line configuration.
+ * FDT options
*/
-#ifdef CONFIG_CMD_NET
-# define CONFIG_CMD_DHCP
-# define CONFIG_CMD_PING
-#endif
-
#define CONFIG_OF_LIBFDT
#define CONFIG_OF_BOARD_SETUP
#define CONFIG_LMB
@@ -130,6 +125,4 @@
#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_INIT_SP - 0x20000)
#define CONFIG_CMDLINE_EDITING
-#define CONFIG_SYS_HUSH_PARSER
-
#endif /* __CONFIG_H */
OpenPOWER on IntegriCloud