ARM: tegra: set default SYS_CONFIG_NAME from SoC Kconfig

Since most boards now use the same generic device config header, move its
setup to SoC Kconfig instead of setting SYS_CONFIG_NAME in each board's
Kconfig.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
This commit is contained in:
Svyatoslav Ryhel
2025-04-15 18:07:01 +03:00
parent 7187408553
commit 66c4ac31ca
39 changed files with 3 additions and 114 deletions

View File

@@ -198,6 +198,9 @@ source "arch/arm/mach-tegra/tegra124/Kconfig"
source "arch/arm/mach-tegra/tegra210/Kconfig" source "arch/arm/mach-tegra/tegra210/Kconfig"
source "arch/arm/mach-tegra/tegra186/Kconfig" source "arch/arm/mach-tegra/tegra186/Kconfig"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_PRAM config TEGRA_PRAM
select TEGRA_SUPPORT_NON_SECURE if TEGRA114 || TEGRA124 select TEGRA_SUPPORT_NON_SECURE if TEGRA114 || TEGRA124
bool "Support reservation of the protected RAM" bool "Support reservation of the protected RAM"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "acer" default "acer"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "Acer Iconia Tab A500" default "Acer Iconia Tab A500"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "asus" default "asus"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "ASUS Google Nexus 7 (2012)" default "ASUS Google Nexus 7 (2012)"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "asus" default "asus"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "ASUS Transformer T114" default "ASUS Transformer T114"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "asus" default "asus"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "ASUS Transformer T20" default "ASUS Transformer T20"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "asus" default "asus"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "ASUS Transformer T30" default "ASUS Transformer T30"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "avionic-design" default "avionic-design"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "Avionic Design Medcom-Wide" default "Avionic Design Medcom-Wide"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "avionic-design" default "avionic-design"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "Avionic Design Plutux" default "Avionic Design Plutux"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "avionic-design" default "avionic-design"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "Avionic Design Tamonten™ NG Evaluation Carrier" default "Avionic Design Tamonten™ NG Evaluation Carrier"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "avionic-design" default "avionic-design"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "Avionic Design Tamonten Evaluation Carrier" default "Avionic Design Tamonten Evaluation Carrier"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "cei" default "cei"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "CEI tk1-som" default "CEI tk1-som"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "compal" default "compal"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "Compal Paz00" default "Compal Paz00"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "compulab" default "compulab"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "Compulab Trimslice" default "Compulab Trimslice"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "htc" default "htc"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "HTC One X" default "HTC One X"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "lenovo" default "lenovo"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "Lenovo Ideapad Yoga 11" default "Lenovo Ideapad Yoga 11"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "lg" default "lg"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "LG Star" default "LG Star"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "lg" default "lg"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "LG X3 Board" default "LG X3 Board"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "microsoft" default "microsoft"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "Microsoft Surface RT" default "Microsoft Surface RT"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "NVIDIA Beaver" default "NVIDIA Beaver"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "NVIDIA Cardhu" default "NVIDIA Cardhu"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "NVIDIA Dalmore" default "NVIDIA Dalmore"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "NVIDIA Harmony" default "NVIDIA Harmony"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "NVIDIA Jetson TK1" default "NVIDIA Jetson TK1"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "Google/NVIDIA Nyan-big" default "Google/NVIDIA Nyan-big"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "NVIDIA P2371-0000" default "NVIDIA P2371-0000"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "NVIDIA P2371-2180" default "NVIDIA P2371-2180"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "NVIDIA P2571" default "NVIDIA P2571"

View File

@@ -10,9 +10,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "NVIDIA P2771-0000" default "NVIDIA P2771-0000"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "NVIDIA P3450-0000" default "NVIDIA P3450-0000"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "NVIDIA Seaboard" default "NVIDIA Seaboard"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "NVIDIA TegraTab" default "NVIDIA TegraTab"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "NVIDIA Venice2" default "NVIDIA Venice2"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "NVIDIA Ventana" default "NVIDIA Ventana"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "ouya" default "ouya"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "Ouya Game Console" default "Ouya Game Console"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "toradex" default "toradex"
config SYS_CONFIG_NAME
default "tegra"
config TDX_CFG_BLOCK config TDX_CFG_BLOCK
default y default y

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "toradex" default "toradex"
config SYS_CONFIG_NAME
default "tegra"
config TDX_CFG_BLOCK config TDX_CFG_BLOCK
default y default y

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "toradex" default "toradex"
config SYS_CONFIG_NAME
default "tegra"
config TDX_CFG_BLOCK config TDX_CFG_BLOCK
default y default y

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "wexler" default "wexler"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "Wexler QC750" default "Wexler QC750"

View File

@@ -6,9 +6,6 @@ config SYS_BOARD
config SYS_VENDOR config SYS_VENDOR
default "xiaomi" default "xiaomi"
config SYS_CONFIG_NAME
default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"
default "Xiaomi Mocha" default "Xiaomi Mocha"