[PATCH v2 04/12] configs: j721x_evm: Remove unneeded check for SYS_K3_SPL_ATF
Christian Gmeiner
christian.gmeiner at gmail.com
Thu Apr 6 11:25:17 CEST 2023
>
> The TARGET_x_R5_EVM check is already enough to limit these defines to
> only the correct builds. Remove the extra outer check.
>
> Signed-off-by: Andrew Davis <afd at ti.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
> ---
> board/ti/j721e/j721e.env | 2 --
> board/ti/j721s2/j721s2.env | 2 --
> 2 files changed, 4 deletions(-)
>
> diff --git a/board/ti/j721e/j721e.env b/board/ti/j721e/j721e.env
> index 446395adfa5..f442d155842 100644
> --- a/board/ti/j721e/j721e.env
> +++ b/board/ti/j721e/j721e.env
> @@ -21,7 +21,6 @@ args_all=setenv optargs earlycon=ns16550a,mmio32,0x02800000
> ${mtdparts}
> run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
>
> -#if CONFIG_SYS_K3_SPL_ATF
> #if CONFIG_TARGET_J721E_R5_EVM
> addr_mcur5f0_0load=0x89000000
> name_mcur5f0_0fw=/lib/firmware/j7-mcu-r5f0_0-fw
> @@ -29,7 +28,6 @@ name_mcur5f0_0fw=/lib/firmware/j7-mcu-r5f0_0-fw
> addr_mcur5f0_0load=0x89000000
> name_mcur5f0_0fw=/lib/firmware/j7200-mcu-r5f0_0-fw
> #endif
> -#endif
>
> boot=mmc
> mmcdev=1
> diff --git a/board/ti/j721s2/j721s2.env b/board/ti/j721s2/j721s2.env
> index 2152f8849f9..f4467770e40 100644
> --- a/board/ti/j721s2/j721s2.env
> +++ b/board/ti/j721s2/j721s2.env
> @@ -25,12 +25,10 @@ boot=mmc
> mmcdev=1
> bootpart=1:2
> bootdir=/boot
> -#if CONFIG_SYS_K3_SPL_ATF
> #if CONFIG_TARGET_J721S2_R5_EVM
> addr_mcur5f0_0load=0x89000000
> name_mcur5f0_0fw=/lib/firmware/j7-mcu-r5f0_0-fw
> #endif
> -#endif
> rd_spec=-
> init_mmc=run args_all args_mmc
> get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${name_fdt}
> --
> 2.39.2
>
--
greets
--
Christian Gmeiner, MSc
https://christian-gmeiner.info/privacypolicy
More information about the U-Boot
mailing list