diff mbox series

[02/13] arm: mvebu: Add select on ARCH_EARLY_INIT_R if ARM64

Message ID 20230216033659.3877684-2-trini@konsulko.com
State Accepted
Commit efb0aa7bf5e3820992b703d731d38a6f6d6fd933
Delegated to: Tom Rini
Headers show
Series [01/13] common/Kconfig: Reword text for BOARD_TYPES | expand

Commit Message

Tom Rini Feb. 16, 2023, 3:36 a.m. UTC
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>
---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefan Roese Feb. 16, 2023, 6:31 a.m. UTC | #1
On 2/16/23 04:36, Tom Rini wrote:
> 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>

Thanks,
Stefan

> ---
>   arch/arm/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index bd7fffcce0ba..724cbdde257c 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -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

Viele Grüße,
Stefan Roese
Tom Rini March 3, 2023, 11:40 p.m. UTC | #2
On Wed, Feb 15, 2023 at 10:36:48PM -0500, Tom Rini wrote:

> 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>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index bd7fffcce0ba..724cbdde257c 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -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