[PATCH 1/6] arm: mach-k3: Move SYS_K3_SPL_ATF definition into R5 Kconfig

Igor Opaniuk igor.opaniuk at foundries.io
Wed Feb 7 11:02:32 CET 2024


Hi Andrew,

On Fri, Feb 2, 2024 at 1:25 AM Andrew Davis <afd at ti.com> wrote:
>
> Loading ATF is only supported from the R5, move the Kconfig symbol
> definition to match.
>
> Signed-off-by: Andrew Davis <afd at ti.com>
> ---
>  arch/arm/mach-k3/Kconfig    | 7 -------
>  arch/arm/mach-k3/r5/Kconfig | 6 ++++++
>  2 files changed, 6 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig
> index 03898424c95..45cf740bb1f 100644
> --- a/arch/arm/mach-k3/Kconfig
> +++ b/arch/arm/mach-k3/Kconfig
> @@ -114,13 +114,6 @@ config K3_EARLY_CONS_IDX
>           Use this option to set the index of the serial device to be used
>           for the early console during SPL execution.
>
> -config SYS_K3_SPL_ATF
> -       bool "Start Cortex-A from SPL"
> -       depends on CPU_V7R
> -       help
> -         Enabling this will try to start Cortex-A (typically with ATF)
> -         after SPL from R5.
> -
>  config K3_ATF_LOAD_ADDR
>         hex "Load address of ATF image"
>         default 0x70000000
> diff --git a/arch/arm/mach-k3/r5/Kconfig b/arch/arm/mach-k3/r5/Kconfig
> index ae79f8ff6cd..317a6c4b67e 100644
> --- a/arch/arm/mach-k3/r5/Kconfig
> +++ b/arch/arm/mach-k3/r5/Kconfig
> @@ -43,3 +43,9 @@ config K3_SYSFW_IMAGE_SPI_OFFS
>         help
>           Offset of the combined System Firmware and configuration image tree
>           blob to be loaded when booting from a SPI flash memory.
> +
> +config SYS_K3_SPL_ATF
> +       bool "Start Cortex-A from SPL"
> +       help
> +         Enabling this will try to start Cortex-A (typically with ATF)
> +         after SPL from R5.
> --
> 2.39.2
>

Reviewed-by: Igor Opaniuk <igor.opaniuk at foundries.io>

-- 
Best regards - Freundliche Grüsse - Meilleures salutations

Igor Opaniuk
Senior Software Engineer, Embedded & Security
E: igor.opaniuk at foundries.io
W: www.foundries.io


More information about the U-Boot mailing list