[PATCH u-boot-marvell 12/12] arm: mvebu: turris_omnia: Move CONFIG_SPL_DRIVERS_MISC to Kconfig

Marek Behún kabel at kernel.org
Sat Oct 9 19:33:46 CEST 2021


From: Marek Behún <marek.behun at nic.cz>

Instead of declaring CONFIG_SPL_DRIVERS_MISC in board config header,
select it in Kconfig.

Signed-off-by: Marek Behún <marek.behun at nic.cz>
---
 arch/arm/mach-mvebu/Kconfig    | 1 +
 include/configs/turris_omnia.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index 8365305733..c66dab6012 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -127,6 +127,7 @@ config TARGET_TURRIS_OMNIA
 	select DM_I2C
 	select I2C_MUX
 	select I2C_MUX_PCA954x
+	select SPL_DRIVERS_MISC
 	select SPL_I2C_MUX
 	select SPL_SYS_MALLOC_SIMPLE
 	select SYS_I2C_MVTWSI
diff --git a/include/configs/turris_omnia.h b/include/configs/turris_omnia.h
index 562b49327f..3af62ef48c 100644
--- a/include/configs/turris_omnia.h
+++ b/include/configs/turris_omnia.h
@@ -38,7 +38,6 @@
 
 #define CONFIG_SPL_STACK		(0x40000000 + ((192 - 16) << 10))
 #define CONFIG_SPL_BOOTROM_SAVE		(CONFIG_SPL_STACK + 4)
-#define CONFIG_SPL_DRIVERS_MISC
 
 #ifdef CONFIG_MVEBU_SPL_BOOT_DEVICE_MMC
 /* SPL related MMC defines */
-- 
2.32.0



More information about the U-Boot mailing list