]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
dm: stv0991: Move driver model CONFIGs to Kconfig
authorSimon Glass <sjg@chromium.org>
Mon, 9 Feb 2015 20:41:30 +0000 (13:41 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:52:18 +0000 (13:52 +0200)
Remove driver model CONFIGs from the board config headers and use Kconfig
instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
configs/stv0991_defconfig
include/configs/stv0991.h

index 37b10ba89390a45dcf1160212376bf2cf706fc58..1c9ba881a4a431006624ecdd5b73c4f0c12b89e6 100644 (file)
@@ -3,3 +3,5 @@ CONFIG_ARM=y
 CONFIG_TARGET_STV0991=y
 CONFIG_SYS_MALLOC_F=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
+CONFIG_DM=y
+CONFIG_DM_SERIAL=y
index 071b1c2ca79e62828f46d790210285505f45e185..156e0fa8e16f79928c96a46c3684ceaceab58965 100644 (file)
 #define CONFIG_SYS_MAXARGS                     16
 #define CONFIG_SYS_MALLOC_LEN                  (CONFIG_ENV_SIZE + 16 * 1024)
 
-#define CONFIG_DM
 /* serial port (PL011) configuration */
 #define CONFIG_BAUDRATE                                115200
-#ifdef CONFIG_DM
-#define CONFIG_DM_SERIAL
 #define CONFIG_PL01X_SERIAL
-#else
-#define CONFIG_SYS_SERIAL0                     0x80406000
-#define CONFIG_CONS_INDEX                      0
-#define CONFIG_PL011_SERIAL
-#define CONFIG_PL01x_PORTS                     {(void *)CONFIG_SYS_SERIAL0}
-#define CONFIG_PL011_CLOCK                     (2700 * 1000)
-#endif
 
 /* user interface */
 #define CONFIG_SYS_PROMPT                      "STV0991> "