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

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
configs/Linksprite_pcDuino3_fdt_defconfig
include/configs/sunxi-common.h

index 3b6dfa6fa691e9ac717609a268115e40e9772aac..cfed375fc2cda077db0861cd9889770a9de40f78 100644 (file)
@@ -2,6 +2,8 @@ CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI"
 CONFIG_FDTFILE="sun7i-a20-pcduino3.dtb"
 CONFIG_DM=y
+CONFIG_DM_GPIO=y
+CONFIG_DM_SERIAL=y
 CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-pcduino3"
 CONFIG_OF_CONTROL=y
 CONFIG_OF_SEPARATE=y
index 325120da2e6e512dea0e9c7ae05092d193807ea4..0c5c18cb304e381af7fbcaa46ae14f458a692828 100644 (file)
@@ -28,8 +28,6 @@
 #define CONFIG_SYS_TEXT_BASE           0x4a000000
 
 #if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_DM)
-# define CONFIG_DM_GPIO
-# define CONFIG_DM_SERIAL
 # define CONFIG_DW_SERIAL
 # define CONFIG_SYS_MALLOC_F_LEN       (1 << 10)
 #endif