[PATCH V2 06/12] arm: mach-k3: Kconfig: Introduce a symbol to indicate J7200

Andrew Davis afd at ti.com
Mon Nov 6 17:45:31 CET 2023


On 11/4/23 2:21 AM, Nishanth Menon wrote:
> J7200 shares quite a few characteristics with J721E. However a few sets
> are different. Introduce a Kconfig to differentiate the two to allow for
> new boards to be introduced in a seamless manner.
> 
> Signed-off-by: Nishanth Menon <nm at ti.com>
> ---
>   arch/arm/mach-k3/Kconfig | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig
> index 9168bf842dca..57e2dd966eb8 100644
> --- a/arch/arm/mach-k3/Kconfig
> +++ b/arch/arm/mach-k3/Kconfig
> @@ -24,6 +24,11 @@ config SOC_K3_AM62A7
>   
>   endchoice
>   
> +if SOC_K3_J721E
> +config SOC_K3_J721E_J7200

I'm sure you know how messy this is :(

We wanted to treat J7200 as a proper subset device of J721e but we
also know that didn't happen. These two SoCs ended up more different
than expected and although still very similar I believe continuing
to try to support both under one name is not the right solution.

We will split out J7200 from J721e in TF-A[0] for similar reasons,
might be time to do the same in u-boot.

Andrew

[0] https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/23970

> +	bool "TI's K3 based J7200 SoC variant Family Support"
> +endif
> +
>   config SYS_SOC
>   	default "k3"
>   


More information about the U-Boot mailing list