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:
@@ -65,6 +65,21 @@ endchoice
|
|||||||
config SYS_SOC
|
config SYS_SOC
|
||||||
default "exynos"
|
default "exynos"
|
||||||
|
|
||||||
|
config DM
|
||||||
|
default y if !SPL_BUILD
|
||||||
|
|
||||||
|
config DM_SERIAL
|
||||||
|
default y if !SPL_BUILD
|
||||||
|
|
||||||
|
config DM_SPI
|
||||||
|
default y if !SPL_BUILD
|
||||||
|
|
||||||
|
config DM_SPI_FLASH
|
||||||
|
default y if !SPL_BUILD
|
||||||
|
|
||||||
|
config DM_GPIO
|
||||||
|
default y if !SPL_BUILD
|
||||||
|
|
||||||
source "board/samsung/smdkv310/Kconfig"
|
source "board/samsung/smdkv310/Kconfig"
|
||||||
source "board/samsung/trats/Kconfig"
|
source "board/samsung/trats/Kconfig"
|
||||||
source "board/samsung/universal_c210/Kconfig"
|
source "board/samsung/universal_c210/Kconfig"
|
||||||
|
|||||||
@@ -12,4 +12,13 @@ config SYS_SOC
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "s5p_goni"
|
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
|
endif
|
||||||
|
|||||||
@@ -22,6 +22,9 @@ config SYS_VENDOR
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "peach-pi"
|
default "peach-pi"
|
||||||
|
|
||||||
|
config DM_CROS_EC
|
||||||
|
default y
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if TARGET_PEACH_PIT
|
if TARGET_PEACH_PIT
|
||||||
@@ -35,6 +38,9 @@ config SYS_VENDOR
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "peach-pit"
|
default "peach-pit"
|
||||||
|
|
||||||
|
config DM_CROS_EC
|
||||||
|
default y
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if TARGET_SMDK5420
|
if TARGET_SMDK5420
|
||||||
|
|||||||
@@ -12,4 +12,13 @@ config SYS_SOC
|
|||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "smdkc100"
|
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
|
endif
|
||||||
|
|||||||
@@ -17,12 +17,6 @@
|
|||||||
#include <linux/sizes.h>
|
#include <linux/sizes.h>
|
||||||
|
|
||||||
#define CONFIG_SYS_GENERIC_BOARD
|
#define CONFIG_SYS_GENERIC_BOARD
|
||||||
#define CONFIG_DM
|
|
||||||
#define CONFIG_CMD_DM
|
|
||||||
#define CONFIG_DM_GPIO
|
|
||||||
#define CONFIG_DM_SERIAL
|
|
||||||
#define CONFIG_DM_SPI
|
|
||||||
#define CONFIG_DM_SPI_FLASH
|
|
||||||
|
|
||||||
#define CONFIG_ARCH_CPU_INIT
|
#define CONFIG_ARCH_CPU_INIT
|
||||||
#define CONFIG_DISPLAY_CPUINFO
|
#define CONFIG_DISPLAY_CPUINFO
|
||||||
|
|||||||
@@ -44,7 +44,6 @@
|
|||||||
|
|
||||||
#define CONFIG_POWER_TPS65090_EC
|
#define CONFIG_POWER_TPS65090_EC
|
||||||
#define CONFIG_CROS_EC_SPI /* Support CROS_EC over SPI */
|
#define CONFIG_CROS_EC_SPI /* Support CROS_EC over SPI */
|
||||||
#define CONFIG_DM_CROS_EC
|
|
||||||
|
|
||||||
#define CONFIG_USB_XHCI
|
#define CONFIG_USB_XHCI
|
||||||
#define CONFIG_USB_XHCI_EXYNOS
|
#define CONFIG_USB_XHCI_EXYNOS
|
||||||
|
|||||||
@@ -44,7 +44,6 @@
|
|||||||
|
|
||||||
#define CONFIG_POWER_TPS65090_EC
|
#define CONFIG_POWER_TPS65090_EC
|
||||||
#define CONFIG_CROS_EC_SPI /* Support CROS_EC over SPI */
|
#define CONFIG_CROS_EC_SPI /* Support CROS_EC over SPI */
|
||||||
#define CONFIG_DM_CROS_EC
|
|
||||||
|
|
||||||
#define CONFIG_USB_XHCI
|
#define CONFIG_USB_XHCI
|
||||||
#define CONFIG_USB_XHCI_EXYNOS
|
#define CONFIG_USB_XHCI_EXYNOS
|
||||||
|
|||||||
@@ -290,9 +290,5 @@
|
|||||||
#define CONFIG_OF_LIBFDT
|
#define CONFIG_OF_LIBFDT
|
||||||
|
|
||||||
#define CONFIG_SYS_GENERIC_BOARD
|
#define CONFIG_SYS_GENERIC_BOARD
|
||||||
#define CONFIG_DM
|
|
||||||
#define CONFIG_CMD_DM
|
|
||||||
#define CONFIG_DM_GPIO
|
|
||||||
#define CONFIG_DM_SERIAL
|
|
||||||
|
|
||||||
#endif /* __CONFIG_H */
|
#endif /* __CONFIG_H */
|
||||||
|
|||||||
@@ -224,9 +224,5 @@
|
|||||||
#define CONFIG_OF_LIBFDT
|
#define CONFIG_OF_LIBFDT
|
||||||
|
|
||||||
#define CONFIG_SYS_GENERIC_BOARD
|
#define CONFIG_SYS_GENERIC_BOARD
|
||||||
#define CONFIG_DM
|
|
||||||
#define CONFIG_CMD_DM
|
|
||||||
#define CONFIG_DM_GPIO
|
|
||||||
#define CONFIG_DM_SERIAL
|
|
||||||
|
|
||||||
#endif /* __CONFIG_H */
|
#endif /* __CONFIG_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user