aboutsummaryrefslogtreecommitdiff
path: root/board/gdsys/p1022
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2019-03-29 10:18:10 +0100
committerMario Six <mario.six@gdsys.cc>2019-05-21 08:03:38 +0200
commitfe4a9675758e8fe7dce0b0064cac03c81a649f0a (patch)
tree856c4d9fbd10779719fc4e53fd3b6d10d76d3916 /board/gdsys/p1022
parentedba2b29f57efdff0ee087a0686ef11efbd6f9b8 (diff)
downloadu-boot-fe4a9675758e8fe7dce0b0064cac03c81a649f0a.zip
u-boot-fe4a9675758e8fe7dce0b0064cac03c81a649f0a.tar.gz
u-boot-fe4a9675758e8fe7dce0b0064cac03c81a649f0a.tar.bz2
gdsys: Introduce GDSYS_LEGACY_DRIVERS
Future gdsys boards will switch from the legacy drivers in board/gdsys/common to DM-based drivers. Define a Kconfig option that disables the legacy drivers. Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'board/gdsys/p1022')
-rw-r--r--board/gdsys/p1022/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/board/gdsys/p1022/Kconfig b/board/gdsys/p1022/Kconfig
index 8514d08..f515427 100644
--- a/board/gdsys/p1022/Kconfig
+++ b/board/gdsys/p1022/Kconfig
@@ -1,3 +1,10 @@
+config GDSYS_LEGACY_DRIVERS
+ bool
+ help
+ Enable the gdsys legacy drivers under board/gdsys/common. If this
+ option is not set, all relevant DM drivers must be configured for the
+ device in question.
+
if TARGET_CONTROLCENTERD
config SYS_BOARD
@@ -9,4 +16,7 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "controlcenterd"
+config GDSYS_LEGACY_DRIVERS
+ default y
+
endif