Commit aab7e80d5fbc3aeb5feddae88c9cbb649d23345a
1 parent
34e609ca82
Exists in
v2017.01-smarct4x
and in
37 other branches
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>
Showing 9 changed files with 39 additions and 16 deletions Side-by-side Diff
arch/arm/cpu/armv7/exynos/Kconfig
... | ... | @@ -65,6 +65,21 @@ |
65 | 65 | config SYS_SOC |
66 | 66 | default "exynos" |
67 | 67 | |
68 | +config DM | |
69 | + default y if !SPL_BUILD | |
70 | + | |
71 | +config DM_SERIAL | |
72 | + default y if !SPL_BUILD | |
73 | + | |
74 | +config DM_SPI | |
75 | + default y if !SPL_BUILD | |
76 | + | |
77 | +config DM_SPI_FLASH | |
78 | + default y if !SPL_BUILD | |
79 | + | |
80 | +config DM_GPIO | |
81 | + default y if !SPL_BUILD | |
82 | + | |
68 | 83 | source "board/samsung/smdkv310/Kconfig" |
69 | 84 | source "board/samsung/trats/Kconfig" |
70 | 85 | source "board/samsung/universal_c210/Kconfig" |
board/samsung/goni/Kconfig
board/samsung/smdk5420/Kconfig
... | ... | @@ -22,6 +22,9 @@ |
22 | 22 | config SYS_CONFIG_NAME |
23 | 23 | default "peach-pi" |
24 | 24 | |
25 | +config DM_CROS_EC | |
26 | + default y | |
27 | + | |
25 | 28 | endif |
26 | 29 | |
27 | 30 | if TARGET_PEACH_PIT |
... | ... | @@ -34,6 +37,9 @@ |
34 | 37 | |
35 | 38 | config SYS_CONFIG_NAME |
36 | 39 | default "peach-pit" |
40 | + | |
41 | +config DM_CROS_EC | |
42 | + default y | |
37 | 43 | |
38 | 44 | endif |
39 | 45 |
board/samsung/smdkc100/Kconfig
include/configs/exynos-common.h
... | ... | @@ -17,12 +17,6 @@ |
17 | 17 | #include <linux/sizes.h> |
18 | 18 | |
19 | 19 | #define CONFIG_SYS_GENERIC_BOARD |
20 | -#define CONFIG_DM | |
21 | -#define CONFIG_CMD_DM | |
22 | -#define CONFIG_DM_GPIO | |
23 | -#define CONFIG_DM_SERIAL | |
24 | -#define CONFIG_DM_SPI | |
25 | -#define CONFIG_DM_SPI_FLASH | |
26 | 20 | |
27 | 21 | #define CONFIG_ARCH_CPU_INIT |
28 | 22 | #define CONFIG_DISPLAY_CPUINFO |
include/configs/peach-pi.h
include/configs/peach-pit.h
include/configs/s5p_goni.h
include/configs/smdkc100.h