[PATCH v2 05/20] arm: K3: Add basic support for J721S2 SoC definition

Tom Rini trini at konsulko.com
Thu Jan 13 15:13:37 CET 2022


On Tue, Jan 11, 2022 at 01:25:30PM +0530, Aswath Govindraju wrote:
> From: David Huang <d-huang at ti.com>
> 
> Add basic support for J721S2 SoC definition
> 
> Signed-off-by: David Huang <d-huang at ti.com>
> Signed-off-by: Aswath Govindraju <a-govindraju at ti.com>
> Signed-off-by: Dave Gerlach <d-gerlach at ti.com>
> Signed-off-by: Nishanth Menon <nm at ti.com>
> Signed-off-by: Hari Nagalla <hnagalla at ti.com>
> ---
>  arch/arm/mach-k3/Kconfig                      |  11 +-
>  arch/arm/mach-k3/Makefile                     |   1 +
>  arch/arm/mach-k3/arm64-mmu.c                  |  53 +++
>  arch/arm/mach-k3/include/mach/hardware.h      |   4 +
>  .../mach-k3/include/mach/j721s2_hardware.h    |  60 +++
>  arch/arm/mach-k3/include/mach/j721s2_spl.h    |  46 ++
>  arch/arm/mach-k3/include/mach/spl.h           |   4 +
>  arch/arm/mach-k3/j721s2/Makefile              |   5 +
>  arch/arm/mach-k3/j721s2/clk-data.c            | 403 ++++++++++++++++++
>  arch/arm/mach-k3/j721s2/dev-data.c            |  85 ++++
>  arch/arm/mach-k3/j721s2_init.c                | 312 ++++++++++++++
>  include/configs/j721s2_evm.h                  | 191 +++++++++
>  12 files changed, 1174 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/mach-k3/include/mach/j721s2_hardware.h
>  create mode 100644 arch/arm/mach-k3/include/mach/j721s2_spl.h
>  create mode 100644 arch/arm/mach-k3/j721s2/Makefile
>  create mode 100644 arch/arm/mach-k3/j721s2/clk-data.c
>  create mode 100644 arch/arm/mach-k3/j721s2/dev-data.c
>  create mode 100644 arch/arm/mach-k3/j721s2_init.c
>  create mode 100644 include/configs/j721s2_evm.h
> 
> diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig
> index 526f5f8b76c2..248b0d80e15d 100644
> --- a/arch/arm/mach-k3/Kconfig
> +++ b/arch/arm/mach-k3/Kconfig
> @@ -10,6 +10,9 @@ config SOC_K3_AM6
>  config SOC_K3_J721E
>  	bool "TI's K3 based J721E SoC Family Support"
>  
> +config SOC_K3_J721S2
> +	bool "TI's K3 based J721S2 SoC Family Support"
> +
>  config SOC_K3_AM642
>  	bool "TI's K3 based AM642 SoC Family Support"
>  
> @@ -22,6 +25,7 @@ config SYS_K3_NON_SECURE_MSRAM_SIZE
>  	hex
>  	default 0x80000 if SOC_K3_AM6
>  	default 0x100000 if SOC_K3_J721E
> +	default 0x100000 if SOC_K3_J721S2
>  	default 0x1c0000 if SOC_K3_AM642
>  	help
>  	  Describes the total size of the MCU or OCMC MSRAM present on

I prefer seeing default foo if SOC_K3_J721E || SOC_K3_J721S2 when it's
the same value, here and elsewhere (and any other patch in the series).
Thanks!

-- 
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/20220113/8189b687/attachment.sig>


More information about the U-Boot mailing list