From ab71ece5055375f61dec144fc5a67b910d7aab03 Mon Sep 17 00:00:00 2001
From: Luka Perkov <luka.perkov@sartura.hr>
Date: Sat, 31 Oct 2015 21:23:34 +0100
Subject: [PATCH] arm: kirkwood: ib62x0: make use of defconfig

Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
---
 configs/ib62x0_defconfig | 5 +++++
 include/configs/ib62x0.h | 3 ---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/configs/ib62x0_defconfig b/configs/ib62x0_defconfig
index 194ef0285c6..19cbfd568b9 100644
--- a/configs/ib62x0_defconfig
+++ b/configs/ib62x0_defconfig
@@ -5,3 +5,8 @@ CONFIG_SYS_PROMPT="ib62x0 => "
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_HUSH_PARSER=y
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_NAND=y
+CONFIG_CMD_PING=y
+CONFIG_CMD_USB=y
diff --git a/include/configs/ib62x0.h b/include/configs/ib62x0.h
index ad966bd9ac1..976147da3c8 100644
--- a/include/configs/ib62x0.h
+++ b/include/configs/ib62x0.h
@@ -45,9 +45,6 @@
 #define CONFIG_CMD_BOOTZ
 #define CONFIG_CMD_IDE
 #define CONFIG_CMD_MII
-#define CONFIG_CMD_NAND
-#define CONFIG_CMD_PING
-#define CONFIG_CMD_USB
 
 /*
  * mv-common.h should be defined after CMD configs since it used them
-- 
GitLab