[PATCH 09/14] arch: mach-k3: Introduce basic files to support J722S SoC family
Jayesh Choudhary
j-choudhary at ti.com
Thu May 30 07:00:54 CEST 2024
Hello Andrew,
Thanks for the review.
On 29/05/24 20:47, Andrew Davis wrote:
> On 5/29/24 8:24 AM, Jayesh Choudhary wrote:
>> Introduce the basic functions and definitions needed to properly
>> initialize TI J722S family of SoCs.
>>
>> Co-developed-by: Vaishnav Achath <vaishnav.a at ti.com>
>> Signed-off-by: Vaishnav Achath <vaishnav.a at ti.com>
>> Signed-off-by: Jayesh Choudhary <j-choudhary at ti.com>
>> ---
>> arch/arm/mach-k3/Kconfig | 7 +-
>> arch/arm/mach-k3/Makefile | 1 +
>> arch/arm/mach-k3/include/mach/hardware.h | 4 +
>> .../arm/mach-k3/include/mach/j722s_hardware.h | 83 ++++++
>> arch/arm/mach-k3/include/mach/j722s_spl.h | 49 ++++
>> arch/arm/mach-k3/include/mach/spl.h | 4 +
>> arch/arm/mach-k3/j722s/Kconfig | 32 ++
>> arch/arm/mach-k3/j722s/Makefile | 6 +
>> arch/arm/mach-k3/j722s/j722s_init.c | 277 ++++++++++++++++++
>> 9 files changed, 462 insertions(+), 1 deletion(-)
>> create mode 100644 arch/arm/mach-k3/include/mach/j722s_hardware.h
>> create mode 100644 arch/arm/mach-k3/include/mach/j722s_spl.h
>> create mode 100644 arch/arm/mach-k3/j722s/Kconfig
>> create mode 100644 arch/arm/mach-k3/j722s/Makefile
>> create mode 100644 arch/arm/mach-k3/j722s/j722s_init.c
>>
>> diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig
>> index 2bb970c2d4..f3f42b3921 100644
>> --- a/arch/arm/mach-k3/Kconfig
>> +++ b/arch/arm/mach-k3/Kconfig
>> @@ -25,6 +25,9 @@ config SOC_K3_J721E
>> config SOC_K3_J721S2
>> bool "TI's K3 based J721S2 SoC Family Support"
>> +config SOC_K3_J722S
>> + bool "TI's K3 based J722S SoC Family Support"
>> +
>> config SOC_K3_J784S4
>> bool "TI's K3 based J784S4 SoC Family Support"
>> @@ -84,6 +87,7 @@ config SYS_K3_BOOT_PARAM_TABLE_INDEX
>> default 0x43c3f290 if SOC_K3_AM62A7 && CPU_V7R
>> default 0x7000f290 if SOC_K3_AM62A7 && ARM64
>> default 0x43c4f290 if SOC_K3_AM62P5
>> + default 0x43c7f290 if SOC_K3_J722S
>> help
>> Address at which ROM stores the value which determines if SPL
>> is booted up by primary boot media or secondary boot media.
>> @@ -122,7 +126,7 @@ config K3_EARLY_CONS_IDX
>> config K3_ATF_LOAD_ADDR
>> hex "Load address of ATF image"
>> - default 0x80000000 if (SOC_K3_AM625 || SOC_K3_AM62A7 ||
>> SOC_K3_AM62P5)
>> + default 0x80000000 if (SOC_K3_AM625 || SOC_K3_AM62A7 ||
>> SOC_K3_AM62P5 || SOC_K3_J722S)
>
> You may need to fixup the DT if it uses the old address. You'll
> need to do the same as done for AM62p here:
>
> https://patchwork.ozlabs.org/project/uboot/patch/20240520-am62p-fdt-fix-v1-1-49845dcb3667@ti.com/
>
> Andrew
Will add this fixup in v2 series!
Warm Regards,
-Jayesh
[...]
More information about the U-Boot
mailing list