summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-02-05 21:41:44 -0700
committerSimon Glass <sjg@chromium.org>2015-02-12 10:35:35 -0700
commit001646c478429f7ee1e9a4aff667ad9ed3bc4ee4 (patch)
treeae008eb5c560c2e6c82b6c8797b2ec5df5de51fc /arch/arm
parentd7a4b2e42e6f782c304e2ba0d6d48c2c77ccd8bf (diff)
dm: omap3: 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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/cpu/armv7/omap3/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap3/Kconfig b/arch/arm/cpu/armv7/omap3/Kconfig
index a029379a4f..2fe323230f 100644
--- a/arch/arm/cpu/armv7/omap3/Kconfig
+++ b/arch/arm/cpu/armv7/omap3/Kconfig
@@ -93,6 +93,15 @@ config TARGET_TWISTER
endchoice
+config DM
+ default y if !SPL_BUILD
+
+config DM_GPIO
+ default y if DM && !SPL_BUILD
+
+config DM_SERIAL
+ default y if DM && !SPL_BUILD
+
config SYS_SOC
default "omap3"