dm: exynos: 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>
This commit is contained in:
@@ -12,4 +12,13 @@ config SYS_SOC
|
||||
config SYS_CONFIG_NAME
|
||||
default "s5p_goni"
|
||||
|
||||
config DM
|
||||
default y if !SPL_BUILD
|
||||
|
||||
config DM_GPIO
|
||||
default y if !SPL_BUILD
|
||||
|
||||
config DM_SERIAL
|
||||
default y if !SPL_BUILD
|
||||
|
||||
endif
|
||||
|
||||
@@ -22,6 +22,9 @@ config SYS_VENDOR
|
||||
config SYS_CONFIG_NAME
|
||||
default "peach-pi"
|
||||
|
||||
config DM_CROS_EC
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
if TARGET_PEACH_PIT
|
||||
@@ -35,6 +38,9 @@ config SYS_VENDOR
|
||||
config SYS_CONFIG_NAME
|
||||
default "peach-pit"
|
||||
|
||||
config DM_CROS_EC
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
if TARGET_SMDK5420
|
||||
|
||||
@@ -12,4 +12,13 @@ config SYS_SOC
|
||||
config SYS_CONFIG_NAME
|
||||
default "smdkc100"
|
||||
|
||||
config DM
|
||||
default y if !SPL_BUILD
|
||||
|
||||
config DM_GPIO
|
||||
default y if !SPL_BUILD
|
||||
|
||||
config DM_SERIAL
|
||||
default y if !SPL_BUILD
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user