Skip to content
Snippets Groups Projects
Commit 34e609ca authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent f058f154
No related branches found
No related tags found
No related merge requests found
...@@ -839,6 +839,8 @@ endchoice ...@@ -839,6 +839,8 @@ endchoice
source "arch/arm/cpu/arm926ejs/davinci/Kconfig" source "arch/arm/cpu/arm926ejs/davinci/Kconfig"
source "arch/arm/cpu/arm1176/bcm2835/Kconfig"
source "arch/arm/cpu/armv7/exynos/Kconfig" source "arch/arm/cpu/armv7/exynos/Kconfig"
source "arch/arm/cpu/armv7/highbank/Kconfig" source "arch/arm/cpu/armv7/highbank/Kconfig"
......
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
...@@ -30,12 +30,6 @@ ...@@ -30,12 +30,6 @@
*/ */
#define CONFIG_MACH_TYPE MACH_TYPE_BCM2708 #define CONFIG_MACH_TYPE MACH_TYPE_BCM2708
/* Enable driver model */
#define CONFIG_DM
#define CONFIG_CMD_DM
#define CONFIG_DM_GPIO
#define CONFIG_DM_SERIAL
/* Memory layout */ /* Memory layout */
#define CONFIG_NR_DRAM_BANKS 1 #define CONFIG_NR_DRAM_BANKS 1
#define CONFIG_SYS_SDRAM_BASE 0x00000000 #define CONFIG_SYS_SDRAM_BASE 0x00000000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment