summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configs/nios2-generic_defconfig3
-rw-r--r--include/configs/nios2-generic.h9
2 files changed, 4 insertions, 8 deletions
diff --git a/configs/nios2-generic_defconfig b/configs/nios2-generic_defconfig
index 573a0847b2..5f93394249 100644
--- a/configs/nios2-generic_defconfig
+++ b/configs/nios2-generic_defconfig
@@ -1,9 +1,12 @@
CONFIG_NIOS2=y
CONFIG_TARGET_NIOS2_GENERIC=y
+CONFIG_HUSH_PARSER=y
# CONFIG_CMD_BOOTD is not set
# CONFIG_CMD_IMLS is not set
# CONFIG_CMD_XIMG is not set
# CONFIG_CMD_FPGA is not set
# CONFIG_CMD_ITEST is not set
# CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_DHCP=y
# CONFIG_CMD_NFS is not set
+CONFIG_CMD_PING=y
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