summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/arm1176
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-02-05 21:41:39 -0700
committerSimon Glass <sjg@chromium.org>2015-02-12 10:35:34 -0700
commit34e609ca82d8846dc1fcee485e9a2ad71060f77f (patch)
tree874d46dc5eaf193dbb1b9dc0dd35e143bb722c7b /arch/arm/cpu/arm1176
parentf058f154a9cad41b8cc97ce85b9308051ff297b9 (diff)
downloadu-boot-34e609ca82d8846dc1fcee485e9a2ad71060f77f.tar.gz
u-boot-34e609ca82d8846dc1fcee485e9a2ad71060f77f.tar.xz
u-boot-34e609ca82d8846dc1fcee485e9a2ad71060f77f.zip
dm: Move Raspberry Pi driver model CONFIGs to Kconfig
Remove driver model CONFIGs from the board config header and use Kconfig instead. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/cpu/arm1176')
-rw-r--r--arch/arm/cpu/arm1176/bcm2835/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm1176/bcm2835/Kconfig b/arch/arm/cpu/arm1176/bcm2835/Kconfig
new file mode 100644
index 0000000000..94f57d732f
--- /dev/null
+++ b/arch/arm/cpu/arm1176/bcm2835/Kconfig
@@ -0,0 +1,12 @@
+if TARGET_RPI
+
+config DM
+ default y if !SPL_BUILD
+
+config DM_SERIAL
+ default y if !SPL_BUILD
+
+config DM_GPIO
+ default y if !SPL_BUILD
+
+endif