arm: mvebu: Add select on ARCH_EARLY_INIT_R if ARM64
authorTom Rini <trini@konsulko.com>
Thu, 16 Feb 2023 03:36:48 +0000 (22:36 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 2 Mar 2023 20:32:25 +0000 (15:32 -0500)
We need to be calling arch_early_init_r() on 64bit mvebu platforms, so
move this to a select.

Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/Kconfig

index bd7fffc..724cbdd 100644 (file)
@@ -588,6 +588,7 @@ config ARCH_KIRKWOOD
 
 config ARCH_MVEBU
        bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
+       select ARCH_EARLY_INIT_R if ARM64
        select DM
        select DM_SERIAL
        select DM_SPI