From fe865158b26d5880cab98c313a719dc249e11e7d Mon Sep 17 00:00:00 2001 From: Jukka Laitinen Date: Tue, 23 Jan 2024 12:22:26 +0200 Subject: [PATCH] Add ARCH_CHIP_JETSON, ARCH_BOARD_JETSON_NANO and ARCH_CORTEX_A78AE to KConfigs Signed-off-by: Jukka Laitinen --- arch/arm64/Kconfig | 22 ++++++++++++++++++++++ boards/Kconfig | 10 ++++++++++ 2 files changed, 32 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 6f0ce5711ccaf..553bd67e686b1 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -36,6 +36,15 @@ config ARCH_CHIP_A64 ---help--- Allwinner A64 SoC +config ARCH_CHIP_JETSON + bool "NVidia Jetson system" + select ARCH_CORTEX_A78AE + select ARCH_HAVE_ADDRENV + select ARCH_HAVE_RESET + select ARCH_NEED_ADDRENV_MAPPING + ---help--- + NVidia Jetson SoC + config ARCH_CHIP_RK3399 bool "Rockchip RK3399" select ARCH_CORTEX_A53 @@ -181,6 +190,18 @@ config ARCH_CORTEX_A72 select ARCH_HAVE_TESTSET select ARM_HAVE_NEON +config ARCH_CORTEX_A78AE + bool + default n + select ARCH_ARMV8A + select ARCH_HAVE_TRUSTZONE + select ARCH_DCACHE + select ARCH_ICACHE + select ARCH_HAVE_MMU + select ARCH_HAVE_FPU + select ARCH_HAVE_TESTSET + select ARM_HAVE_NEON + config ARCH_CORTEX_R82 bool default n @@ -204,6 +225,7 @@ config ARCH_CHIP default "qemu" if ARCH_CHIP_QEMU default "fvp-v8r" if ARCH_CHIP_FVP_ARMV8R default "imx8" if ARCH_CHIP_IMX8 + default "jetson" if ARCH_CHIP_JETSON config ARM_HAVE_NEON bool diff --git a/boards/Kconfig b/boards/Kconfig index e15971b9ec964..3088a4202e0dd 100644 --- a/boards/Kconfig +++ b/boards/Kconfig @@ -716,6 +716,12 @@ config ARCH_BOARD_LINCOLN60 ---help--- Micromint Lincoln 60 board using the NXP LPC1769 MCU. +config ARCH_BOARD_JETSON_NANO + bool "NVidia Jetson board" + depends on ARCH_CHIP_JETSON + ---help--- + NVidia Jetson Nano + config ARCH_BOARD_KWIKSTIK_K40 bool "NXP/FreeScale KwikStik-K40 development board" depends on ARCH_CHIP_MK40X256VLQ100 @@ -3004,6 +3010,7 @@ config ARCH_BOARD default "imxrt1050-evk" if ARCH_BOARD_IMXRT1050_EVK default "imxrt1060-evk" if ARCH_BOARD_IMXRT1060_EVK default "imxrt1064-evk" if ARCH_BOARD_IMXRT1064_EVK + default "jetson-nano" if ARCH_BOARD_JETSON_NANO default "kwikstik-k40" if ARCH_BOARD_KWIKSTIK_K40 default "launchxl-cc1310" if ARCH_BOARD_LAUNCHXL_CC1310 default "launchxl-cc1312r1" if ARCH_BOARD_LAUNCHXL_CC1312R1 @@ -3373,6 +3380,9 @@ endif if ARCH_BOARD_FREEDOM_K66F source "boards/arm/kinetis/freedom-k66f/Kconfig" endif +if ARCH_BOARD_JETSON_NANO +source "boards/arm64/jetson/jetson-nano/Kconfig" +endif if ARCH_BOARD_KWIKSTIK_K40 source "boards/arm/kinetis/kwikstik-k40/Kconfig" endif