summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-02-05 21:41:46 -0700
committerSimon Glass <sjg@chromium.org>2015-02-12 10:35:35 -0700
commit7b051c5235d6c82cbb396e4419e8d90c7d7635e7 (patch)
tree319591dbd26d77b5d0f79a9ae46cf042d3fad7ae
parentf4aae59fdfc161cbcd3bc628af100d305d739033 (diff)
downloadu-boot-imx-7b051c5235d6c82cbb396e4419e8d90c7d7635e7.zip
u-boot-imx-7b051c5235d6c82cbb396e4419e8d90c7d7635e7.tar.gz
u-boot-imx-7b051c5235d6c82cbb396e4419e8d90c7d7635e7.tar.bz2
dm: sunxi: Move driver model CONFIGs to Kconfig
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>
-rw-r--r--configs/Linksprite_pcDuino3_fdt_defconfig2
-rw-r--r--include/configs/sunxi-common.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/configs/Linksprite_pcDuino3_fdt_defconfig b/configs/Linksprite_pcDuino3_fdt_defconfig
index 3b6dfa6..cfed375 100644
--- a/configs/Linksprite_pcDuino3_fdt_defconfig
+++ b/configs/Linksprite_pcDuino3_fdt_defconfig
@@ -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
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 325120d..0c5c18c 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -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