arm: mvebu: turris_omnia: Move CONFIG_SPL_DRIVERS_MISC to Kconfig
authorMarek Behún <marek.behun@nic.cz>
Sat, 9 Oct 2021 17:33:46 +0000 (19:33 +0200)
committerStefan Roese <sr@denx.de>
Thu, 21 Oct 2021 05:39:05 +0000 (07:39 +0200)
Instead of declaring CONFIG_SPL_DRIVERS_MISC in board config header,
select it in Kconfig.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/Kconfig
include/configs/turris_omnia.h

index 8365305..c66dab6 100644 (file)
@@ -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
index 273ff85..9436a62 100644 (file)
@@ -35,7 +35,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 */