summaryrefslogtreecommitdiffstats
path: root/board/ti
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 /board/ti
parentd7a4b2e42e6f782c304e2ba0d6d48c2c77ccd8bf (diff)
downloadtalos-obmc-uboot-001646c478429f7ee1e9a4aff667ad9ed3bc4ee4.tar.gz
talos-obmc-uboot-001646c478429f7ee1e9a4aff667ad9ed3bc4ee4.zip
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 'board/ti')
-rw-r--r--board/ti/am335x/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/board/ti/am335x/Kconfig b/board/ti/am335x/Kconfig
index 1ddbb2c67c..d6581ac468 100644
--- a/board/ti/am335x/Kconfig
+++ b/board/ti/am335x/Kconfig
@@ -37,4 +37,14 @@ config NOR_BOOT
booted via NOR. In this case we will enable certain pinmux early
as the ROM only partially sets up pinmux. We also default to using
NOR for environment.
+
+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
+
endif
OpenPOWER on IntegriCloud