[PATCH v1] configs: set SPL_TEXT_BASE by default for k3 platforms

Tom Rini trini at konsulko.com
Wed Apr 9 16:30:09 CEST 2025


On Wed, Apr 09, 2025 at 06:17:37PM +0530, Anshul Dalal wrote:

> SPL_TEXT_BASE is used as the load address for the main domain SPL on k3
> platforms.
> 
> Since the config value is the same for every board, this patch sets the
> value 0x80080000 as default for all ARCH_K3 and deletes the instances of
> SPL_TEXT_BASE in individual defconfigs.
> 
> Signed-off-by: Anshul Dalal <anshuld at ti.com>
[snip]
> ---
>  common/spl/Kconfig                         | 1 +
>  configs/am62ax_evm_a53_defconfig           | 1 -
>  configs/am62px_evm_a53_defconfig           | 1 -
>  configs/am62x_beagleplay_a53_defconfig     | 1 -
>  configs/am62x_evm_a53_defconfig            | 1 -
>  configs/am64x_evm_a53_defconfig            | 1 -
>  configs/am65x_evm_a53_defconfig            | 1 -
>  configs/iot2050_defconfig                  | 1 -
>  configs/j7200_evm_a72_defconfig            | 1 -
>  configs/j721e_beagleboneai64_a72_defconfig | 1 -
>  configs/j721e_evm_a72_defconfig            | 1 -
>  configs/j721s2_evm_a72_defconfig           | 1 -
>  configs/j722s_evm_a53_defconfig            | 1 -
>  configs/j784s4_evm_a72_defconfig           | 1 -
>  configs/phycore_am62ax_a53_defconfig       | 1 -
>  configs/phycore_am62x_a53_defconfig        | 1 -
>  configs/phycore_am64x_a53_defconfig        | 1 -
>  configs/verdin-am62_a53_defconfig          | 1 -
>  18 files changed, 1 insertion(+), 17 deletions(-)
> 
> diff --git a/common/spl/Kconfig b/common/spl/Kconfig
> index 94e118f8465..a84b96ebce4 100644
> --- a/common/spl/Kconfig
> +++ b/common/spl/Kconfig
> @@ -271,6 +271,7 @@ config SPL_TEXT_BASE
>  	default 0x40200000 if OMAP34XX
>  	default 0x402F4000 if AM43XX
>  	default 0x402F0400 if AM33XX
> +	default 0x80080000 if ARCH_K3
>  	default 0x00908000 if ARCH_MX6
>  	default 0x00912000 if ARCH_MX7
>  	default 0x40301350 if OMAP54XX

This should probably be ARCH_K3 && ARM64, and then also different line
for the R5 side?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250409/ff520c78/attachment.sig>


More information about the U-Boot mailing list