Skip to contentSkip to conversation

ARM: tegra: replace per-device config headers with generic

PATCH New Svyatoslav Ryhel 1 participant 4 messages Apr 1, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover ARM: tegra: replace per-device config headers with generic

- link CFG_SYS_NS16550_COM1 to TEGRA_ENABLE_UART* (instead of setting it in every board header)
- convert CFG_TEGRA_BOARD_STRING into kconfig (instead of setting it in every board header)
- replace per-device config headers with generic Tegra (per-board device header is still possible if board needs some specific configuration)

Svyatoslav Ryhel (3):
ARM: tegra: board: set CFG_SYS_NS16550_COM1 according to
TEGRA_ENABLE_UART
ARM: tegra: convert CFG_TEGRA_BOARD_STRING into Kconfig option
ARM: tegra: replace per-device config headers with generic Tegra

 arch/arm/mach-tegra/board.c               |  5 ++++
 arch/arm/mach-tegra/board2.c              |  2 +-
 board/acer/picasso/Kconfig                |  6 ++++-
 board/asus/grouper/Kconfig                |  6 ++++-
 board/asus/transformer-t20/Kconfig        |  6 ++++-
 board/asus/transformer-t30/Kconfig        |  6 ++++-
 board/avionic-design/medcom-wide/Kconfig  |  6 ++++-
 board/avionic-design/plutux/Kconfig       |  6 ++++-
 board/avionic-design/tec-ng/Kconfig       |  6 ++++-
 board/avionic-design/tec/Kconfig          |  6 ++++-
 board/cei/cei-tk1-som/Kconfig             |  6 ++++-
 board/compal/paz00/Kconfig                |  6 ++++-
 board/compulab/trimslice/Kconfig          |  6 ++++-
 board/htc/endeavoru/Kconfig               |  6 ++++-
 board/lenovo/ideapad-yoga-11/Kconfig      |  6 ++++-
 board/lg/x3-t30/Kconfig                   |  6 ++++-
 board/microsoft/surface-rt/Kconfig        |  6 ++++-
 board/motorola/mot/Kconfig                |  4 +++
 board/nvidia/beaver/Kconfig               |  6 ++++-
 board/nvidia/cardhu/Kconfig               |  6 ++++-
 board/nvidia/dalmore/Kconfig              |  6 ++++-
 board/nvidia/harmony/Kconfig              |  6 ++++-
 board/nvidia/jetson-tk1/Kconfig           |  6 ++++-
 board/nvidia/nyan-big/Kconfig             |  6 ++++-
 board/nvidia/p2371-0000/Kconfig           |  6 ++++-
 board/nvidia/p2371-2180/Kconfig           |  6 ++++-
 board/nvidia/p2571/Kconfig                |  6 ++++-
 board/nvidia/p2771-0000/Kconfig           |  6 ++++-
 board/nvidia/p3450-0000/Kconfig           |  6 ++++-
 board/nvidia/seaboard/Kconfig             |  6 ++++-
 board/nvidia/venice2/Kconfig              |  6 ++++-
 board/nvidia/ventana/Kconfig              |  6 ++++-
 board/ouya/ouya/Kconfig                   |  6 ++++-
 board/toradex/apalis_t30/Kconfig          |  2 +-
 board/toradex/apalis_t30/apalis_t30.env   |  9 +++++++
 board/toradex/colibri_t20/Kconfig         |  2 +-
 board/toradex/colibri_t30/Kconfig         |  2 +-
 board/toradex/colibri_t30/colibri_t30.env |  8 ++++++
 board/wexler/qc750/Kconfig                |  6 ++++-
 board/xiaomi/mocha/Kconfig                |  4 +++
 include/configs/apalis-tk1.h              |  3 ---
 include/configs/apalis_t30.h              | 27 -------------------
 include/configs/beaver.h                  | 21 ---------------
 include/configs/cardhu.h                  | 21 ---------------
 include/configs/cei-tk1-som.h             | 26 ------------------
 include/configs/colibri_t20.h             | 18 -------------
 include/configs/colibri_t30.h             | 28 --------------------
 include/configs/dalmore.h                 | 23 ----------------
 include/configs/endeavoru.h               | 23 ----------------
 include/configs/grouper.h                 | 19 --------------
 include/configs/harmony.h                 | 31 ----------------------
 include/configs/ideapad-yoga-11.h         | 19 --------------
 include/configs/jetson-tk1.h              | 22 ----------------
 include/configs/medcom-wide.h             | 26 ------------------
 include/configs/mocha.h                   |  6 -----
 include/configs/mot.h                     |  6 -----
 include/configs/nyan-big.h                | 22 ----------------
 include/configs/ouya.h                    | 23 ----------------
 include/configs/p2371-0000.h              | 23 ----------------
 include/configs/p2371-2180.h              | 23 ----------------
 include/configs/p2571.h                   | 23 ----------------
 include/configs/p2771-0000.h              | 20 --------------
 include/configs/p3450-0000.h              | 21 ---------------
 include/configs/paz00.h                   | 25 ------------------
 include/configs/picasso.h                 | 23 ----------------
 include/configs/plutux.h                  | 26 ------------------
 include/configs/qc750.h                   | 23 ----------------
 include/configs/seaboard.h                | 28 --------------------
 include/configs/surface-rt.h              | 21 ---------------
 include/configs/tec-ng.h                  | 20 --------------
 include/configs/tec.h                     | 26 ------------------
 include/configs/tegra.h                   | 32 +++++++++++++++++++++++
 include/configs/transformer-t20.h         | 23 ----------------
 include/configs/transformer-t30.h         | 23 ----------------
 include/configs/trimslice.h               | 26 ------------------
 include/configs/venice2.h                 | 24 -----------------
 include/configs/ventana.h                 | 23 ----------------
 include/configs/x3-t30.h                  | 23 ----------------
 78 files changed, 221 insertions(+), 843 deletions(-)
 delete mode 100644 include/configs/apalis_t30.h
 delete mode 100644 include/configs/beaver.h
 delete mode 100644 include/configs/cardhu.h
 delete mode 100644 include/configs/cei-tk1-som.h
 delete mode 100644 include/configs/colibri_t20.h
 delete mode 100644 include/configs/colibri_t30.h
 delete mode 100644 include/configs/dalmore.h
 delete mode 100644 include/configs/endeavoru.h
 delete mode 100644 include/configs/grouper.h
 delete mode 100644 include/configs/harmony.h
 delete mode 100644 include/configs/ideapad-yoga-11.h
 delete mode 100644 include/configs/jetson-tk1.h
 delete mode 100644 include/configs/medcom-wide.h
 delete mode 100644 include/configs/nyan-big.h
 delete mode 100644 include/configs/ouya.h
 delete mode 100644 include/configs/p2371-0000.h
 delete mode 100644 include/configs/p2371-2180.h
 delete mode 100644 include/configs/p2571.h
 delete mode 100644 include/configs/p2771-0000.h
 delete mode 100644 include/configs/p3450-0000.h
 delete mode 100644 include/configs/paz00.h
 delete mode 100644 include/configs/picasso.h
 delete mode 100644 include/configs/plutux.h
 delete mode 100644 include/configs/qc750.h
 delete mode 100644 include/configs/seaboard.h
 delete mode 100644 include/configs/surface-rt.h
 delete mode 100644 include/configs/tec-ng.h
 delete mode 100644 include/configs/tec.h
 create mode 100644 include/configs/tegra.h
 delete mode 100644 include/configs/transformer-t20.h
 delete mode 100644 include/configs/transformer-t30.h
 delete mode 100644 include/configs/trimslice.h
 delete mode 100644 include/configs/venice2.h
 delete mode 100644 include/configs/ventana.h
 delete mode 100644 include/configs/x3-t30.h
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/3 ARM: tegra: board: set CFG_SYS_NS16550_COM1 according to TEGRA_ENABLE_UART

Link CFG_SYS_NS16550_COM1 value to chosen CONFIG_TEGRA_ENABLE_UART Tegra wide. Remove all CFG_SYS_NS16550_COM1 from device headers.

---
 arch/arm/mach-tegra/board.c       | 5 +++++
 include/configs/apalis-tk1.h      | 3 ---
 include/configs/apalis_t30.h      | 1 -
 include/configs/beaver.h          | 3 ---
 include/configs/cardhu.h          | 3 ---
 include/configs/cei-tk1-som.h     | 3 ---
 include/configs/colibri_t20.h     | 4 ----
 include/configs/colibri_t30.h     | 1 -
 include/configs/dalmore.h         | 3 ---
 include/configs/endeavoru.h       | 3 ---
 include/configs/grouper.h         | 3 ---
 include/configs/harmony.h         | 9 ---------
 include/configs/ideapad-yoga-11.h | 3 ---
 include/configs/jetson-tk1.h      | 3 ---
 include/configs/medcom-wide.h     | 3 ---
 include/configs/mocha.h           | 3 ---
 include/configs/mot.h             | 3 ---
 include/configs/nyan-big.h        | 3 ---
 include/configs/ouya.h            | 3 ---
 include/configs/paz00.h           | 3 ---
 include/configs/picasso.h         | 3 ---
 include/configs/plutux.h          | 3 ---
 include/configs/qc750.h           | 3 ---
 include/configs/seaboard.h        | 3 ---
 include/configs/surface-rt.h      | 3 ---
 include/configs/tec-ng.h          | 3 ---
 include/configs/tec.h             | 3 ---
 include/configs/transformer-t20.h | 3 ---
 include/configs/transformer-t30.h | 3 ---
 include/configs/trimslice.h       | 3 ---
 include/configs/venice2.h         | 3 ---
 include/configs/ventana.h         | 3 ---
 include/configs/x3-t30.h          | 3 ---
 33 files changed, 5 insertions(+), 99 deletions(-)
arch/arm/mach-tegra/board.c +5 -0
index 7ca56a3b081..8c946f0f117 100644
@@ -236,18 +236,23 @@ void board_init_uart_f(void)
 	int uart_ids = 0;	/* bit mask of which UART ids to enable */
 
 #ifdef CONFIG_TEGRA_ENABLE_UARTA
+#define CFG_SYS_NS16550_COM1	NV_PA_APB_UARTA_BASE
 	uart_ids |= UARTA;
 #endif
 #ifdef CONFIG_TEGRA_ENABLE_UARTB
+#define CFG_SYS_NS16550_COM1	NV_PA_APB_UARTB_BASE
 	uart_ids |= UARTB;
 #endif
 #ifdef CONFIG_TEGRA_ENABLE_UARTC
+#define CFG_SYS_NS16550_COM1	NV_PA_APB_UARTC_BASE
 	uart_ids |= UARTC;
 #endif
 #ifdef CONFIG_TEGRA_ENABLE_UARTD
+#define CFG_SYS_NS16550_COM1	NV_PA_APB_UARTD_BASE
 	uart_ids |= UARTD;
 #endif
 #ifdef CONFIG_TEGRA_ENABLE_UARTE
+#define CFG_SYS_NS16550_COM1	NV_PA_APB_UARTE_BASE
 	uart_ids |= UARTE;
 #endif
 	setup_uarts(uart_ids);
include/configs/apalis-tk1.h +0 -3
index 4c690a17856..dbb9881f6ab 100644
@@ -12,9 +12,6 @@
 
 #include "tegra124-common.h"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
-
 #define FDT_MODULE			"apalis-v1.2"
 #define FDT_MODULE_V1_0			"apalis"
 
include/configs/apalis_t30.h +0 -1
index 87a679efde6..c806ad0d9da 100644
@@ -20,7 +20,6 @@
  * Apalis UART3: NVIDIA UARTB
  * Apalis UART4: NVIDIA UARTC
  */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
 
 #include "tegra-common-post.h"
 
include/configs/beaver.h +0 -3
index e622b7127e3..229b766eefa 100644
@@ -13,9 +13,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING	"NVIDIA Beaver"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/cardhu.h +0 -3
index 3412b883cbb..c33c96a5eb4 100644
@@ -13,9 +13,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING	"NVIDIA Cardhu"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/cei-tk1-som.h +0 -3
index fbd38b77fe5..7b09441258c 100644
@@ -18,9 +18,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING	"CEI tk1-som"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/colibri_t20.h +0 -4
index bc616d14368..d96a87c059e 100644
@@ -9,10 +9,6 @@
 #define __CONFIG_H
 
 #include "tegra20-common.h"
-
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/colibri_t30.h +0 -1
index 1f474669a73..0c93f377361 100644
@@ -21,7 +21,6 @@
  * Colibri UART-B: NVIDIA UARTD
  * Colibri UART-C: NVIDIA UARTB
  */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
 
 #include "tegra-common-post.h"
 
include/configs/dalmore.h +0 -3
index 095554157fa..82911eb6165 100644
@@ -13,9 +13,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING	"NVIDIA Dalmore"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
-
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
 #include "tegra-common-post.h"
include/configs/endeavoru.h +0 -3
index 33d0021ec13..20ffda0d251 100644
@@ -15,9 +15,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING		"HTC One X"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/grouper.h +0 -3
index b6ef6ff2ecb..834e249d148 100644
@@ -11,9 +11,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING		"ASUS Google Nexus 7 (2012)"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/harmony.h +0 -9
index cae7acdb70b..793fdffb277 100644
@@ -13,15 +13,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING	"NVIDIA Harmony"
 
-/* Board-specific serial config */
-
-/* UARTD: keyboard satellite board UART, default */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
-#ifdef CONFIG_TEGRA_ENABLE_UARTA
-/* UARTA: debug board UART */
-#define CFG_SYS_NS16550_COM2		NV_PA_APB_UARTA_BASE
-#endif
-
 /* NAND support */
 
 /* Environment in NAND (which is 512M), aligned to start of last sector */
include/configs/ideapad-yoga-11.h +0 -3
index c4e6b2a647c..0f98f890ef7 100644
@@ -11,9 +11,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING		"Lenovo Ideapad Yoga 11"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/jetson-tk1.h +0 -3
index 9858f8ff2b5..2fb1c353ff8 100644
@@ -14,9 +14,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING	"NVIDIA Jetson TK1"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/medcom-wide.h +0 -3
index 8dbe741278a..7694a2fc84c 100644
@@ -14,9 +14,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING	"Avionic Design Medcom-Wide"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
-
 /* NAND support */
 
 /* Environment in NAND, aligned to start of last sector */
include/configs/mocha.h +0 -3
index 1c2eb906085..a84d599ccc9 100644
@@ -13,9 +13,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING		"Xiaomi Mocha"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
-
 #ifdef CONFIG_TEGRA_SUPPORT_NON_SECURE
   #define CFG_PRAM                     0x38400 /* 225 MB */
 #endif
include/configs/mot.h +0 -3
index 63931e90dda..28b8d504769 100644
@@ -13,9 +13,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING		"Motorola Mot"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTB_BASE
-
 /* Tegra common post configuration overwrites text env in the board */
 #define BOARD_EXTRA_ENV_SETTINGS \
 	"stdin=serial,tegra-kbc,button-kbd,cpcap-pwrbutton\0"
include/configs/nyan-big.h +0 -3
index c04d402deb0..84db4bc3bca 100644
@@ -14,9 +14,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING	"Google/NVIDIA Nyan-big"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/ouya.h +0 -3
index cc86c1002e3..a9f05ae5d01 100644
@@ -15,9 +15,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING		"Ouya Game Console"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/paz00.h +0 -3
index 950b3217642..2d8d1f652bb 100644
@@ -15,9 +15,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING	"Compal Paz00"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
-
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
 #include "tegra-common-post.h"
include/configs/picasso.h +0 -3
index a58c7e5f353..0b08a562018 100644
@@ -15,9 +15,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING		"Acer Iconia Tab A500"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/plutux.h +0 -3
index 30bfce9f503..5d7e85d9284 100644
@@ -14,9 +14,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING	"Avionic Design Plutux"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
-
 /* NAND support */
 
 /* Environment in NAND, aligned to start of last sector */
include/configs/qc750.h +0 -3
index ad9f9146bb7..f226d5a4c08 100644
@@ -15,9 +15,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING		"Wexler QC750"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/seaboard.h +0 -3
index 8e98620422d..79de9f83876 100644
@@ -14,9 +14,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING	"NVIDIA Seaboard"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
-
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
 /* NAND support */
include/configs/surface-rt.h +0 -3
index 1f0837e179b..58be786ca77 100644
@@ -13,9 +13,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING		"Microsoft Surface RT"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/tec-ng.h +0 -3
index 5e49abb49fa..4e610164fa3 100644
@@ -12,9 +12,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING	"Avionic Design Tamonten™ NG Evaluation Carrier"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/tec.h +0 -3
index 05dd7c96f61..cb10c0397f9 100644
@@ -14,9 +14,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING	"Avionic Design Tamonten Evaluation Carrier"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
-
 /* NAND support */
 
 /* Environment in NAND, aligned to start of last sector */
include/configs/transformer-t20.h +0 -3
index 6a3d9b24036..1876d2cdc69 100644
@@ -15,9 +15,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING		"ASUS Transformer"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/transformer-t30.h +0 -3
index 792b958a302..37828d3a9d9 100644
@@ -15,9 +15,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING		"ASUS Transformer"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/trimslice.h +0 -3
index 7d1ff2afd14..c4f6defddbc 100644
@@ -13,9 +13,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING	"Compulab Trimslice"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
-
 /* SPI */
 
 /* Environment in SPI */
include/configs/venice2.h +0 -3
index 353b5ea67c1..fa001afdc0f 100644
@@ -14,9 +14,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING	"NVIDIA Venice2"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
-
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
 #include "tegra-common-post.h"
include/configs/ventana.h +0 -3
index 1d9c60ca7c6..7a6e0254545 100644
@@ -13,9 +13,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING	"NVIDIA Ventana"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
-
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
 #include "tegra-common-post.h"
include/configs/x3-t30.h +0 -3
index c152af9b7e2..286de6a3af4 100644
@@ -15,9 +15,6 @@
 /* High-level configuration options */
 #define CFG_TEGRA_BOARD_STRING		"LG X3 Board"
 
-/* Board-specific serial config */
-#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
Signature · 1 line
2.43.0
#2 lore raw

PATCH 2/3 ARM: tegra: convert CFG_TEGRA_BOARD_STRING into Kconfig option

In reply to Svyatoslav Ryhel

Convert CFG_TEGRA_BOARD_STRING into Kconfig option and move it into device board Kconfig.

---
 arch/arm/mach-tegra/board2.c             |  2 +-
 board/acer/picasso/Kconfig               |  4 ++++
 board/asus/grouper/Kconfig               |  4 ++++
 board/asus/transformer-t20/Kconfig       |  4 ++++
 board/asus/transformer-t30/Kconfig       |  4 ++++
 board/avionic-design/medcom-wide/Kconfig |  4 ++++
 board/avionic-design/plutux/Kconfig      |  4 ++++
 board/avionic-design/tec-ng/Kconfig      |  4 ++++
 board/avionic-design/tec/Kconfig         |  4 ++++
 board/cei/cei-tk1-som/Kconfig            |  4 ++++
 board/compal/paz00/Kconfig               |  4 ++++
 board/compulab/trimslice/Kconfig         |  4 ++++
 board/htc/endeavoru/Kconfig              |  4 ++++
 board/lenovo/ideapad-yoga-11/Kconfig     |  4 ++++
 board/lg/x3-t30/Kconfig                  |  4 ++++
 board/microsoft/surface-rt/Kconfig       |  4 ++++
 board/motorola/mot/Kconfig               |  4 ++++
 board/nvidia/beaver/Kconfig              |  4 ++++
 board/nvidia/cardhu/Kconfig              |  4 ++++
 board/nvidia/dalmore/Kconfig             |  4 ++++
 board/nvidia/harmony/Kconfig             |  4 ++++
 board/nvidia/jetson-tk1/Kconfig          |  4 ++++
 board/nvidia/nyan-big/Kconfig            |  4 ++++
 board/nvidia/p2371-0000/Kconfig          |  4 ++++
 board/nvidia/p2371-2180/Kconfig          |  4 ++++
 board/nvidia/p2571/Kconfig               |  4 ++++
 board/nvidia/p2771-0000/Kconfig          |  4 ++++
 board/nvidia/p3450-0000/Kconfig          |  4 ++++
 board/nvidia/seaboard/Kconfig            |  4 ++++
 board/nvidia/venice2/Kconfig             |  4 ++++
 board/nvidia/ventana/Kconfig             |  4 ++++
 board/ouya/ouya/Kconfig                  |  4 ++++
 board/wexler/qc750/Kconfig               |  4 ++++
 board/xiaomi/mocha/Kconfig               |  4 ++++
 include/configs/beaver.h                 |  4 ----
 include/configs/cardhu.h                 |  4 ----
 include/configs/cei-tk1-som.h            |  4 ----
 include/configs/dalmore.h                |  6 ------
 include/configs/endeavoru.h              |  4 ----
 include/configs/grouper.h                |  4 ----
 include/configs/harmony.h                |  8 --------
 include/configs/ideapad-yoga-11.h        |  4 ----
 include/configs/jetson-tk1.h             |  4 ----
 include/configs/medcom-wide.h            |  8 --------
 include/configs/mocha.h                  |  3 ---
 include/configs/mot.h                    |  3 ---
 include/configs/nyan-big.h               |  4 ----
 include/configs/ouya.h                   |  4 ----
 include/configs/p2371-0000.h             |  8 --------
 include/configs/p2371-2180.h             |  8 --------
 include/configs/p2571.h                  |  8 --------
 include/configs/p2771-0000.h             |  6 ------
 include/configs/p3450-0000.h             |  7 -------
 include/configs/paz00.h                  |  6 ------
 include/configs/picasso.h                |  4 ----
 include/configs/plutux.h                 |  8 --------
 include/configs/qc750.h                  |  4 ----
 include/configs/seaboard.h               | 10 ----------
 include/configs/surface-rt.h             |  4 ----
 include/configs/tec-ng.h                 |  4 ----
 include/configs/tec.h                    |  8 --------
 include/configs/transformer-t20.h        |  4 ----
 include/configs/transformer-t30.h        |  4 ----
 include/configs/trimslice.h              |  9 ---------
 include/configs/venice2.h                |  6 ------
 include/configs/ventana.h                |  6 ------
 include/configs/x3-t30.h                 |  4 ----
 67 files changed, 133 insertions(+), 183 deletions(-)
arch/arm/mach-tegra/board2.c +1 -1
index 6e9ef68caf9..68534dcbb22 100644
@@ -96,7 +96,7 @@ int checkboard(void)
 {
 	int board_id = tegra_board_id();
 
-	printf("Board: %s", CFG_TEGRA_BOARD_STRING);
+	printf("Board: %s", CONFIG_TEGRA_BOARD_STRING);
 	if (board_id != -1)
 		printf(", ID: %d\n", board_id);
 	printf("\n");
board/acer/picasso/Kconfig +4 -0
index 73c0aa08508..c801bd26c7c 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "picasso"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "Acer Iconia Tab A500"
+
 endif
board/asus/grouper/Kconfig +4 -0
index f935cce4225..5f25680d916 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "grouper"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "ASUS Google Nexus 7 (2012)"
+
 endif
board/asus/transformer-t20/Kconfig +4 -0
index d5fe4128289..2bf42825270 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "transformer-t20"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "ASUS Transformer T20"
+
 endif
board/asus/transformer-t30/Kconfig +4 -0
index 915436ba6c5..04278f139dc 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "transformer-t30"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "ASUS Transformer T30"
+
 endif
board/avionic-design/medcom-wide/Kconfig +4 -0
index 267647cb41f..741fc258b3a 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "medcom-wide"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "Avionic Design Medcom-Wide"
+
 endif
board/avionic-design/plutux/Kconfig +4 -0
index 09a3ac940da..57324dc19e7 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "plutux"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "Avionic Design Plutux"
+
 endif
board/avionic-design/tec-ng/Kconfig +4 -0
index 36a0cec1be1..34e2729fd60 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "tec-ng"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "Avionic Design Tamonten™ NG Evaluation Carrier"
+
 endif
board/avionic-design/tec/Kconfig +4 -0
index bc9751b1086..56b417950eb 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "tec"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "Avionic Design Tamonten Evaluation Carrier"
+
 endif
board/cei/cei-tk1-som/Kconfig +4 -0
index 5fcb51f2f26..32ff61ac44d 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "cei-tk1-som"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "CEI tk1-som"
+
 endif
board/compal/paz00/Kconfig +4 -0
index 30ba11d360a..0ddac85be12 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "paz00"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "Compal Paz00"
+
 endif
board/compulab/trimslice/Kconfig +4 -0
index 35769140347..b26c2970fe4 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "trimslice"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "Compulab Trimslice"
+
 endif
board/htc/endeavoru/Kconfig +4 -0
index 0b72c4a687d..f0967376647 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "endeavoru"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "HTC One X"
+
 endif
board/lenovo/ideapad-yoga-11/Kconfig +4 -0
index 67644409fc1..670a5bb700c 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "ideapad-yoga-11"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "Lenovo Ideapad Yoga 11"
+
 endif
board/lg/x3-t30/Kconfig +4 -0
index 53b6ab3e93c..5a3a67d9f3b 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "x3-t30"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "LG X3 Board"
+
 endif
board/microsoft/surface-rt/Kconfig +4 -0
index 9e66897f6b1..7c8f67f21cb 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "surface-rt"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "Microsoft Surface RT"
+
 endif
board/motorola/mot/Kconfig +4 -0
index 8b76165ade7..3f6f03e95b5 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "mot"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "Motorola Mot"
+
 endif
board/nvidia/beaver/Kconfig +4 -0
index 23f7c945f57..be461214223 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "beaver"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "NVIDIA Beaver"
+
 endif
board/nvidia/cardhu/Kconfig +4 -0
index 63ace66aa78..8a98ace70b5 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "cardhu"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "NVIDIA Cardhu"
+
 endif
board/nvidia/dalmore/Kconfig +4 -0
index 96eaa01cf87..643e082ec06 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "dalmore"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "NVIDIA Dalmore"
+
 endif
board/nvidia/harmony/Kconfig +4 -0
index 328c94677da..1f2bfdfe5d8 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "harmony"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "NVIDIA Harmony"
+
 endif
board/nvidia/jetson-tk1/Kconfig +4 -0
index d90a74ea382..7a2ffd83c84 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "jetson-tk1"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "NVIDIA Jetson TK1"
+
 endif
board/nvidia/nyan-big/Kconfig +4 -0
index 341c8d75c21..b239d69f5e5 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "nyan-big"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "Google/NVIDIA Nyan-big"
+
 endif
board/nvidia/p2371-0000/Kconfig +4 -0
index f94be12be1a..28e9f39045c 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "p2371-0000"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "NVIDIA P2371-0000"
+
 endif
board/nvidia/p2371-2180/Kconfig +4 -0
index 8622bdaa16b..ffb412229c1 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "p2371-2180"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "NVIDIA P2371-2180"
+
 endif
board/nvidia/p2571/Kconfig +4 -0
index 7bc48748408..1fc1978c639 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "p2571"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "NVIDIA P2571"
+
 endif
board/nvidia/p2771-0000/Kconfig +4 -0
index 1b1116f0209..52a22b79734 100644
@@ -13,4 +13,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "p2771-0000"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "NVIDIA P2771-0000"
+
 endif
board/nvidia/p3450-0000/Kconfig +4 -0
index 7a08cd88675..48a94e24d54 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "p3450-0000"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "NVIDIA P3450-0000"
+
 endif
board/nvidia/seaboard/Kconfig +4 -0
index 0924bde480f..df62519c652 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "seaboard"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "NVIDIA Seaboard"
+
 endif
board/nvidia/venice2/Kconfig +4 -0
index 6905f0014ea..7bd51c7a278 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "venice2"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "NVIDIA Venice2"
+
 endif
board/nvidia/ventana/Kconfig +4 -0
index c1ad7b76712..ea1146f75b7 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "ventana"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "NVIDIA Ventana"
+
 endif
board/ouya/ouya/Kconfig +4 -0
index 6bab40ce933..2db127f3e14 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "ouya"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "Ouya Game Console"
+
 endif
board/wexler/qc750/Kconfig +4 -0
index 45a1e5e057b..29943358b84 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "qc750"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "Wexler QC750"
+
 endif
board/xiaomi/mocha/Kconfig +4 -0
index 25c61d4169e..bb53cc56161 100644
@@ -9,4 +9,8 @@ config SYS_VENDOR
 config SYS_CONFIG_NAME
 	default "mocha"
 
+config TEGRA_BOARD_STRING
+	string "Default Tegra board name"
+	default "Xiaomi Mocha"
+
 endif
include/configs/beaver.h +0 -4
index 229b766eefa..21b37b78a30 100644
@@ -9,10 +9,6 @@
 #include <linux/sizes.h>
 
 #include "tegra30-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"NVIDIA Beaver"
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/cardhu.h +0 -4
index c33c96a5eb4..7fc2d85f7bd 100644
@@ -9,10 +9,6 @@
 #include <linux/sizes.h>
 
 #include "tegra30-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"NVIDIA Cardhu"
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/cei-tk1-som.h +0 -4
index 7b09441258c..aa4057d6da0 100644
@@ -14,10 +14,6 @@
 #include <linux/sizes.h>
 
 #include "tegra124-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"CEI tk1-som"
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/dalmore.h +0 -6
index 82911eb6165..0946588230d 100644
@@ -9,12 +9,6 @@
 #include <linux/sizes.h>
 
 #include "tegra114-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"NVIDIA Dalmore"
-
-/* Environment in eMMC, at the end of 2nd "boot sector" */
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/endeavoru.h +0 -4
index 20ffda0d251..8cb3e414af2 100644
@@ -11,10 +11,6 @@
 #define __CONFIG_H
 
 #include "tegra30-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING		"HTC One X"
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/grouper.h +0 -4
index 834e249d148..aacbcf12658 100644
@@ -7,10 +7,6 @@
 #define __CONFIG_H
 
 #include "tegra30-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING		"ASUS Google Nexus 7 (2012)"
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/harmony.h +0 -8
index 793fdffb277..beecb70cd0c 100644
@@ -9,14 +9,6 @@
 
 #include <linux/sizes.h>
 #include "tegra20-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"NVIDIA Harmony"
-
-/* NAND support */
-
-/* Environment in NAND (which is 512M), aligned to start of last sector */
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/ideapad-yoga-11.h +0 -4
index 0f98f890ef7..aacbcf12658 100644
@@ -7,10 +7,6 @@
 #define __CONFIG_H
 
 #include "tegra30-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING		"Lenovo Ideapad Yoga 11"
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/jetson-tk1.h +0 -4
index 2fb1c353ff8..e4ee5ce6be8 100644
@@ -10,10 +10,6 @@
 #include <linux/sizes.h>
 
 #include "tegra124-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"NVIDIA Jetson TK1"
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/medcom-wide.h +0 -8
index 7694a2fc84c..becff398a56 100644
@@ -10,14 +10,6 @@
 #define __CONFIG_H
 
 #include "tegra20-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"Avionic Design Medcom-Wide"
-
-/* NAND support */
-
-/* Environment in NAND, aligned to start of last sector */
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/mocha.h +0 -3
index a84d599ccc9..7255f31baec 100644
@@ -10,9 +10,6 @@
 
 #include "tegra124-common.h"
 
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING		"Xiaomi Mocha"
-
 #ifdef CONFIG_TEGRA_SUPPORT_NON_SECURE
   #define CFG_PRAM                     0x38400 /* 225 MB */
 #endif
include/configs/mot.h +0 -3
index 28b8d504769..018672cb28f 100644
@@ -10,9 +10,6 @@
 #include <linux/sizes.h>
 #include "tegra20-common.h"
 
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING		"Motorola Mot"
-
 /* Tegra common post configuration overwrites text env in the board */
 #define BOARD_EXTRA_ENV_SETTINGS \
 	"stdin=serial,tegra-kbc,button-kbd,cpcap-pwrbutton\0"
include/configs/nyan-big.h +0 -4
index 84db4bc3bca..808cd908972 100644
@@ -10,10 +10,6 @@
 #include <linux/sizes.h>
 
 #include "tegra124-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"Google/NVIDIA Nyan-big"
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/ouya.h +0 -4
index a9f05ae5d01..381941760e3 100644
@@ -11,10 +11,6 @@
 #define __CONFIG_H
 
 #include "tegra30-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING		"Ouya Game Console"
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/p2371-0000.h +0 -8
index a29d7135d0b..79240bd8ed0 100644
@@ -10,14 +10,6 @@
 #include <linux/sizes.h>
 
 #include "tegra210-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"NVIDIA P2371-0000"
-
-/* Board-specific serial config */
-
-/* Environment in eMMC, at the end of 2nd "boot sector" */
-
 #include "tegra-common-post.h"
 
 #endif /* _P2371_0000_H */
include/configs/p2371-2180.h +0 -8
index 0b077aba659..24f3a7030e8 100644
@@ -10,14 +10,6 @@
 #include <linux/sizes.h>
 
 #include "tegra210-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"NVIDIA P2371-2180"
-
-/* Board-specific serial config */
-
-/* Environment in eMMC, at the end of 2nd "boot sector" */
-
 #include "tegra-common-post.h"
 
 #endif /* _P2371_2180_H */
include/configs/p2571.h +0 -8
index 5155aa7b1dd..0dbb45e7c2a 100644
@@ -10,14 +10,6 @@
 #include <linux/sizes.h>
 
 #include "tegra210-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"NVIDIA P2571"
-
-/* Board-specific serial config */
-
-/* Environment in eMMC, at the end of 2nd "boot sector" */
-
 #include "tegra-common-post.h"
 
 #endif /* _P2571_H */
include/configs/p2771-0000.h +0 -6
index fc1b7c0302d..914c68ffdf9 100644
@@ -9,12 +9,6 @@
 #include <linux/sizes.h>
 
 #include "tegra186-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"NVIDIA P2771-0000"
-
-/* Environment in eMMC, at the end of 2nd "boot sector" */
-
 #include "tegra-common-post.h"
 
 #endif
include/configs/p3450-0000.h +0 -7
index 1138c1d306f..c5a74e8f8fe 100644
@@ -9,13 +9,6 @@
 #include <linux/sizes.h>
 
 #include "tegra210-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"NVIDIA P3450-0000"
-
-/* Board-specific serial config */
-
-/* General networking support */
 #include "tegra-common-post.h"
 
 #endif /* _P3450_0000_H */
include/configs/paz00.h +0 -6
index 2d8d1f652bb..ec123804545 100644
@@ -11,12 +11,6 @@
 
 #include <linux/sizes.h>
 #include "tegra20-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"Compal Paz00"
-
-/* Environment in eMMC, at the end of 2nd "boot sector" */
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/picasso.h +0 -4
index 0b08a562018..4b6837dc000 100644
@@ -11,10 +11,6 @@
 #define __CONFIG_H
 
 #include "tegra20-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING		"Acer Iconia Tab A500"
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/plutux.h +0 -8
index 5d7e85d9284..becff398a56 100644
@@ -10,14 +10,6 @@
 #define __CONFIG_H
 
 #include "tegra20-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"Avionic Design Plutux"
-
-/* NAND support */
-
-/* Environment in NAND, aligned to start of last sector */
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/qc750.h +0 -4
index f226d5a4c08..2acafb488b1 100644
@@ -11,10 +11,6 @@
 #define __CONFIG_H
 
 #include "tegra30-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING		"Wexler QC750"
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/seaboard.h +0 -10
index 79de9f83876..4a2c6623ac1 100644
@@ -10,16 +10,6 @@
 #include <linux/sizes.h>
 
 #include "tegra20-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"NVIDIA Seaboard"
-
-/* Environment in eMMC, at the end of 2nd "boot sector" */
-
-/* NAND support */
-
-/* Max number of NAND devices */
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/surface-rt.h +0 -4
index 58be786ca77..39f7dddf3d4 100644
@@ -9,10 +9,6 @@
 #define __CONFIG_H
 
 #include "tegra30-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING		"Microsoft Surface RT"
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/tec-ng.h +0 -4
index 4e610164fa3..3d6cb0b5257 100644
@@ -8,10 +8,6 @@
 #define __CONFIG_H
 
 #include "tegra30-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"Avionic Design Tamonten™ NG Evaluation Carrier"
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/tec.h +0 -8
index cb10c0397f9..becff398a56 100644
@@ -10,14 +10,6 @@
 #define __CONFIG_H
 
 #include "tegra20-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"Avionic Design Tamonten Evaluation Carrier"
-
-/* NAND support */
-
-/* Environment in NAND, aligned to start of last sector */
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/transformer-t20.h +0 -4
index 1876d2cdc69..b82c6e34c8f 100644
@@ -11,10 +11,6 @@
 #define __CONFIG_H
 
 #include "tegra20-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING		"ASUS Transformer"
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/transformer-t30.h +0 -4
index 37828d3a9d9..8cb3e414af2 100644
@@ -11,10 +11,6 @@
 #define __CONFIG_H
 
 #include "tegra30-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING		"ASUS Transformer"
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/trimslice.h +0 -9
index c4f6defddbc..beecb70cd0c 100644
@@ -9,15 +9,6 @@
 
 #include <linux/sizes.h>
 #include "tegra20-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"Compulab Trimslice"
-
-/* SPI */
-
-/* Environment in SPI */
-/* 1MiB flash, environment located as high as possible */
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/venice2.h +0 -6
index fa001afdc0f..bbebe53d17e 100644
@@ -10,12 +10,6 @@
 #include <linux/sizes.h>
 
 #include "tegra124-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"NVIDIA Venice2"
-
-/* Environment in eMMC, at the end of 2nd "boot sector" */
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/ventana.h +0 -6
index 7a6e0254545..00f9909b122 100644
@@ -9,12 +9,6 @@
 
 #include <linux/sizes.h>
 #include "tegra20-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING	"NVIDIA Ventana"
-
-/* Environment in eMMC, at the end of 2nd "boot sector" */
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
include/configs/x3-t30.h +0 -4
index 286de6a3af4..8cb3e414af2 100644
@@ -11,10 +11,6 @@
 #define __CONFIG_H
 
 #include "tegra30-common.h"
-
-/* High-level configuration options */
-#define CFG_TEGRA_BOARD_STRING		"LG X3 Board"
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
Signature · 1 line
2.43.0
#3 lore raw

PATCH 3/3 ARM: tegra: replace per-device config headers with generic Tegra

In reply to Svyatoslav Ryhel

Most device headers contain SoC specific part and common Tegra post part. Add a generic header which can be used by any Tegra device of one of the supported SoC generations (T20, T30, T114, T124 or T210) without need in device specific configuration.

---
 board/acer/picasso/Kconfig                |  2 +-
 board/asus/grouper/Kconfig                |  2 +-
 board/asus/transformer-t20/Kconfig        |  2 +-
 board/asus/transformer-t30/Kconfig        |  2 +-
 board/avionic-design/medcom-wide/Kconfig  |  2 +-
 board/avionic-design/plutux/Kconfig       |  2 +-
 board/avionic-design/tec-ng/Kconfig       |  2 +-
 board/avionic-design/tec/Kconfig          |  2 +-
 board/cei/cei-tk1-som/Kconfig             |  2 +-
 board/compal/paz00/Kconfig                |  2 +-
 board/compulab/trimslice/Kconfig          |  2 +-
 board/htc/endeavoru/Kconfig               |  2 +-
 board/lenovo/ideapad-yoga-11/Kconfig      |  2 +-
 board/lg/x3-t30/Kconfig                   |  2 +-
 board/microsoft/surface-rt/Kconfig        |  2 +-
 board/nvidia/beaver/Kconfig               |  2 +-
 board/nvidia/cardhu/Kconfig               |  2 +-
 board/nvidia/dalmore/Kconfig              |  2 +-
 board/nvidia/harmony/Kconfig              |  2 +-
 board/nvidia/jetson-tk1/Kconfig           |  2 +-
 board/nvidia/nyan-big/Kconfig             |  2 +-
 board/nvidia/p2371-0000/Kconfig           |  2 +-
 board/nvidia/p2371-2180/Kconfig           |  2 +-
 board/nvidia/p2571/Kconfig                |  2 +-
 board/nvidia/p2771-0000/Kconfig           |  2 +-
 board/nvidia/p3450-0000/Kconfig           |  2 +-
 board/nvidia/seaboard/Kconfig             |  2 +-
 board/nvidia/venice2/Kconfig              |  2 +-
 board/nvidia/ventana/Kconfig              |  2 +-
 board/ouya/ouya/Kconfig                   |  2 +-
 board/toradex/apalis_t30/Kconfig          |  2 +-
 board/toradex/apalis_t30/apalis_t30.env   |  9 +++++++
 board/toradex/colibri_t20/Kconfig         |  2 +-
 board/toradex/colibri_t30/Kconfig         |  2 +-
 board/toradex/colibri_t30/colibri_t30.env |  8 ++++++
 board/wexler/qc750/Kconfig                |  2 +-
 include/configs/apalis_t30.h              | 26 ------------------
 include/configs/beaver.h                  | 14 ----------
 include/configs/cardhu.h                  | 14 ----------
 include/configs/cei-tk1-som.h             | 19 --------------
 include/configs/colibri_t20.h             | 14 ----------
 include/configs/colibri_t30.h             | 27 -------------------
 include/configs/dalmore.h                 | 14 ----------
 include/configs/endeavoru.h               | 16 ------------
 include/configs/grouper.h                 | 12 ---------
 include/configs/harmony.h                 | 14 ----------
 include/configs/ideapad-yoga-11.h         | 12 ---------
 include/configs/jetson-tk1.h              | 15 -----------
 include/configs/medcom-wide.h             | 15 -----------
 include/configs/nyan-big.h                | 15 -----------
 include/configs/ouya.h                    | 16 ------------
 include/configs/p2371-0000.h              | 15 -----------
 include/configs/p2371-2180.h              | 15 -----------
 include/configs/p2571.h                   | 15 -----------
 include/configs/p2771-0000.h              | 14 ----------
 include/configs/p3450-0000.h              | 14 ----------
 include/configs/paz00.h                   | 16 ------------
 include/configs/picasso.h                 | 16 ------------
 include/configs/plutux.h                  | 15 -----------
 include/configs/qc750.h                   | 16 ------------
 include/configs/seaboard.h                | 15 -----------
 include/configs/surface-rt.h              | 14 ----------
 include/configs/tec-ng.h                  | 13 ---------
 include/configs/tec.h                     | 15 -----------
 include/configs/tegra.h                   | 32 +++++++++++++++++++++++
 include/configs/transformer-t20.h         | 16 ------------
 include/configs/transformer-t30.h         | 16 ------------
 include/configs/trimslice.h               | 14 ----------
 include/configs/venice2.h                 | 15 -----------
 include/configs/ventana.h                 | 14 ----------
 include/configs/x3-t30.h                  | 16 ------------
 71 files changed, 83 insertions(+), 561 deletions(-)
 delete mode 100644 include/configs/apalis_t30.h
 delete mode 100644 include/configs/beaver.h
 delete mode 100644 include/configs/cardhu.h
 delete mode 100644 include/configs/cei-tk1-som.h
 delete mode 100644 include/configs/colibri_t20.h
 delete mode 100644 include/configs/colibri_t30.h
 delete mode 100644 include/configs/dalmore.h
 delete mode 100644 include/configs/endeavoru.h
 delete mode 100644 include/configs/grouper.h
 delete mode 100644 include/configs/harmony.h
 delete mode 100644 include/configs/ideapad-yoga-11.h
 delete mode 100644 include/configs/jetson-tk1.h
 delete mode 100644 include/configs/medcom-wide.h
 delete mode 100644 include/configs/nyan-big.h
 delete mode 100644 include/configs/ouya.h
 delete mode 100644 include/configs/p2371-0000.h
 delete mode 100644 include/configs/p2371-2180.h
 delete mode 100644 include/configs/p2571.h
 delete mode 100644 include/configs/p2771-0000.h
 delete mode 100644 include/configs/p3450-0000.h
 delete mode 100644 include/configs/paz00.h
 delete mode 100644 include/configs/picasso.h
 delete mode 100644 include/configs/plutux.h
 delete mode 100644 include/configs/qc750.h
 delete mode 100644 include/configs/seaboard.h
 delete mode 100644 include/configs/surface-rt.h
 delete mode 100644 include/configs/tec-ng.h
 delete mode 100644 include/configs/tec.h
 create mode 100644 include/configs/tegra.h
 delete mode 100644 include/configs/transformer-t20.h
 delete mode 100644 include/configs/transformer-t30.h
 delete mode 100644 include/configs/trimslice.h
 delete mode 100644 include/configs/venice2.h
 delete mode 100644 include/configs/ventana.h
 delete mode 100644 include/configs/x3-t30.h
board/acer/picasso/Kconfig +1 -1
index c801bd26c7c..879b778aa53 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "acer"
 
 config SYS_CONFIG_NAME
-	default "picasso"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/asus/grouper/Kconfig +1 -1
index 5f25680d916..3bd712b274c 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "asus"
 
 config SYS_CONFIG_NAME
-	default "grouper"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/asus/transformer-t20/Kconfig +1 -1
index 2bf42825270..3e80d38d590 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "asus"
 
 config SYS_CONFIG_NAME
-	default "transformer-t20"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/asus/transformer-t30/Kconfig +1 -1
index 04278f139dc..34fd6f200f8 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "asus"
 
 config SYS_CONFIG_NAME
-	default "transformer-t30"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/avionic-design/medcom-wide/Kconfig +1 -1
index 741fc258b3a..54474b5061a 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "avionic-design"
 
 config SYS_CONFIG_NAME
-	default "medcom-wide"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/avionic-design/plutux/Kconfig +1 -1
index 57324dc19e7..35b19dd2ea0 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "avionic-design"
 
 config SYS_CONFIG_NAME
-	default "plutux"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/avionic-design/tec-ng/Kconfig +1 -1
index 34e2729fd60..8782e7a2a67 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "avionic-design"
 
 config SYS_CONFIG_NAME
-	default "tec-ng"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/avionic-design/tec/Kconfig +1 -1
index 56b417950eb..12cc4e1f4d0 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "avionic-design"
 
 config SYS_CONFIG_NAME
-	default "tec"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/cei/cei-tk1-som/Kconfig +1 -1
index 32ff61ac44d..9b944730e63 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "cei"
 
 config SYS_CONFIG_NAME
-	default "cei-tk1-som"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/compal/paz00/Kconfig +1 -1
index 0ddac85be12..7fa47fc8c77 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "compal"
 
 config SYS_CONFIG_NAME
-	default "paz00"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/compulab/trimslice/Kconfig +1 -1
index b26c2970fe4..226ebc228a8 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "compulab"
 
 config SYS_CONFIG_NAME
-	default "trimslice"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/htc/endeavoru/Kconfig +1 -1
index f0967376647..ef50da9be45 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "htc"
 
 config SYS_CONFIG_NAME
-	default "endeavoru"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/lenovo/ideapad-yoga-11/Kconfig +1 -1
index 670a5bb700c..cd4aa32d86d 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "lenovo"
 
 config SYS_CONFIG_NAME
-	default "ideapad-yoga-11"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/lg/x3-t30/Kconfig +1 -1
index 5a3a67d9f3b..d2cdf860db4 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "lg"
 
 config SYS_CONFIG_NAME
-	default "x3-t30"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/microsoft/surface-rt/Kconfig +1 -1
index 7c8f67f21cb..6afddb9b363 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "microsoft"
 
 config SYS_CONFIG_NAME
-	default "surface-rt"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/nvidia/beaver/Kconfig +1 -1
index be461214223..fe36d475b30 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "nvidia"
 
 config SYS_CONFIG_NAME
-	default "beaver"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/nvidia/cardhu/Kconfig +1 -1
index 8a98ace70b5..92de3f2e669 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "nvidia"
 
 config SYS_CONFIG_NAME
-	default "cardhu"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/nvidia/dalmore/Kconfig +1 -1
index 643e082ec06..8da3499b9f5 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "nvidia"
 
 config SYS_CONFIG_NAME
-	default "dalmore"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/nvidia/harmony/Kconfig +1 -1
index 1f2bfdfe5d8..eedee71cac9 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "nvidia"
 
 config SYS_CONFIG_NAME
-	default "harmony"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/nvidia/jetson-tk1/Kconfig +1 -1
index 7a2ffd83c84..9eeb55f639d 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "nvidia"
 
 config SYS_CONFIG_NAME
-	default "jetson-tk1"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/nvidia/nyan-big/Kconfig +1 -1
index b239d69f5e5..65fef3c063f 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "nvidia"
 
 config SYS_CONFIG_NAME
-	default "nyan-big"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/nvidia/p2371-0000/Kconfig +1 -1
index 28e9f39045c..e2770781a25 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "nvidia"
 
 config SYS_CONFIG_NAME
-	default "p2371-0000"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/nvidia/p2371-2180/Kconfig +1 -1
index ffb412229c1..8d97dc354b6 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "nvidia"
 
 config SYS_CONFIG_NAME
-	default "p2371-2180"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/nvidia/p2571/Kconfig +1 -1
index 1fc1978c639..1d41e9d68f4 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "nvidia"
 
 config SYS_CONFIG_NAME
-	default "p2571"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/nvidia/p2771-0000/Kconfig +1 -1
index 52a22b79734..199e04da07e 100644
@@ -11,7 +11,7 @@ config SYS_VENDOR
 	default "nvidia"
 
 config SYS_CONFIG_NAME
-	default "p2771-0000"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/nvidia/p3450-0000/Kconfig +1 -1
index 48a94e24d54..9235c2a0c35 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "nvidia"
 
 config SYS_CONFIG_NAME
-	default "p3450-0000"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/nvidia/seaboard/Kconfig +1 -1
index df62519c652..a6baeeb7f87 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "nvidia"
 
 config SYS_CONFIG_NAME
-	default "seaboard"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/nvidia/venice2/Kconfig +1 -1
index 7bd51c7a278..9ebaa2fa413 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "nvidia"
 
 config SYS_CONFIG_NAME
-	default "venice2"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/nvidia/ventana/Kconfig +1 -1
index ea1146f75b7..b8654c24e0b 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "nvidia"
 
 config SYS_CONFIG_NAME
-	default "ventana"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/ouya/ouya/Kconfig +1 -1
index 2db127f3e14..c698f730412 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "ouya"
 
 config SYS_CONFIG_NAME
-	default "ouya"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
board/toradex/apalis_t30/Kconfig +1 -1
index 9cd497091d6..6260f8eb7f4 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "toradex"
 
 config SYS_CONFIG_NAME
-	default "apalis_t30"
+	default "tegra"
 
 config TDX_CFG_BLOCK
 	default y
board/toradex/apalis_t30/apalis_t30.env +9 -0
index a8f2904bcd7..85d0a05d0e1 100644
@@ -1,6 +1,15 @@
 uboot_hwpart=1
 uboot_blk=0
 
+/*
+ * Board-specific serial config
+ *
+ * Apalis UART1: NVIDIA UARTA
+ * Apalis UART2: NVIDIA UARTD
+ * Apalis UART3: NVIDIA UARTB
+ * Apalis UART4: NVIDIA UARTC
+ */
+
 set_blkcnt=setexpr blkcnt ${filesize} + 0x1ff &&
 	setexpr blkcnt ${blkcnt} / 0x200
 update_uboot=run set_blkcnt && mmc dev 0 ${uboot_hwpart} &&
board/toradex/colibri_t20/Kconfig +1 -1
index a43acddb801..8a7295a41e2 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "toradex"
 
 config SYS_CONFIG_NAME
-	default "colibri_t20"
+	default "tegra"
 
 config TDX_CFG_BLOCK
 	default y
board/toradex/colibri_t30/Kconfig +1 -1
index 68ef82b099d..643309fe856 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "toradex"
 
 config SYS_CONFIG_NAME
-	default "colibri_t30"
+	default "tegra"
 
 config TDX_CFG_BLOCK
 	default y
board/toradex/colibri_t30/colibri_t30.env +8 -0
index a8f2904bcd7..87919fbf155 100644
@@ -1,6 +1,14 @@
 uboot_hwpart=1
 uboot_blk=0
 
+/*
+ * Board-specific serial config
+ *
+ * Colibri UART-A: NVIDIA UARTA
+ * Colibri UART-B: NVIDIA UARTD
+ * Colibri UART-C: NVIDIA UARTB
+ */
+
 set_blkcnt=setexpr blkcnt ${filesize} + 0x1ff &&
 	setexpr blkcnt ${blkcnt} / 0x200
 update_uboot=run set_blkcnt && mmc dev 0 ${uboot_hwpart} &&
board/wexler/qc750/Kconfig +1 -1
index 29943358b84..b449720a8b3 100644
@@ -7,7 +7,7 @@ config SYS_VENDOR
 	default "wexler"
 
 config SYS_CONFIG_NAME
-	default "qc750"
+	default "tegra"
 
 config TEGRA_BOARD_STRING
 	string "Default Tegra board name"
include/configs/apalis_t30.h deleted +0 -26
deleted file mode 100644
index c806ad0d9da..00000000000
@@ -1,26 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (c) 2014-2016 Marcel Ziswiler
- *
- * Configuration settings for the Toradex Apalis T30 modules.
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <linux/sizes.h>
-
-#include "tegra30-common.h"
-
-/*
- * Board-specific serial config
- *
- * Apalis UART1: NVIDIA UARTA
- * Apalis UART2: NVIDIA UARTD
- * Apalis UART3: NVIDIA UARTB
- * Apalis UART4: NVIDIA UARTC
- */
-
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/beaver.h deleted +0 -14
deleted file mode 100644
index 21b37b78a30..00000000000
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright (c) 2013, NVIDIA CORPORATION.  All rights reserved.
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <linux/sizes.h>
-
-#include "tegra30-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/cardhu.h deleted +0 -14
deleted file mode 100644
index 7fc2d85f7bd..00000000000
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright (c) 2010-2012, NVIDIA CORPORATION.  All rights reserved.
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <linux/sizes.h>
-
-#include "tegra30-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/cei-tk1-som.h deleted +0 -19
deleted file mode 100644
index aa4057d6da0..00000000000
@@ -1,19 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * (c) Copyright 2016, Data61
- * Commonwealth Scientific and Industrial Research Organisation (CSIRO)
- *
- * Based on jetson-tk1.h which is:
- * (C) Copyright 2013-2014
- * NVIDIA Corporation <www.nvidia.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <linux/sizes.h>
-
-#include "tegra124-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/colibri_t20.h deleted +0 -14
deleted file mode 100644
index d96a87c059e..00000000000
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (C) 2012 Lucas Stach
- *
- * Configuration settings for the Toradex Colibri T20 modules.
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra20-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/colibri_t30.h deleted +0 -27
deleted file mode 100644
index 0c93f377361..00000000000
@@ -1,27 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (c) 2013-2016 Stefan Agner
- *
- * Configuration settings for the Toradex Colibri T30 modules.
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <linux/sizes.h>
-
-#include "tegra30-common.h"
-
-/* High-level configuration options */
-
-/*
- * Board-specific serial config
- *
- * Colibri UART-A: NVIDIA UARTA
- * Colibri UART-B: NVIDIA UARTD
- * Colibri UART-C: NVIDIA UARTB
- */
-
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/dalmore.h deleted +0 -14
deleted file mode 100644
index 0946588230d..00000000000
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright (c) 2010-2013, NVIDIA CORPORATION.  All rights reserved.
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <linux/sizes.h>
-
-#include "tegra114-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/endeavoru.h deleted +0 -16
deleted file mode 100644
index 8cb3e414af2..00000000000
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- *  (C) Copyright 2010,2012
- *  NVIDIA Corporation <www.nvidia.com>
- *
- *  (C) Copyright 2022
- *  Svyatoslav Ryhel <[email protected]>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra30-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/grouper.h deleted +0 -12
deleted file mode 100644
index aacbcf12658..00000000000
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright (c) 2010-2012, NVIDIA CORPORATION.  All rights reserved.
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra30-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/harmony.h deleted +0 -14
deleted file mode 100644
index beecb70cd0c..00000000000
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- *  (C) Copyright 2010-2012
- *  NVIDIA Corporation <www.nvidia.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <linux/sizes.h>
-#include "tegra20-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/ideapad-yoga-11.h deleted +0 -12
deleted file mode 100644
index aacbcf12658..00000000000
@@ -1,12 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright (c) 2010-2012, NVIDIA CORPORATION.  All rights reserved.
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra30-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/jetson-tk1.h deleted +0 -15
deleted file mode 100644
index e4ee5ce6be8..00000000000
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * (C) Copyright 2013-2014
- * NVIDIA Corporation <www.nvidia.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <linux/sizes.h>
-
-#include "tegra124-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/medcom-wide.h deleted +0 -15
deleted file mode 100644
index becff398a56..00000000000
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- *  (C) Copyright 2010,2011
- *  NVIDIA Corporation <www.nvidia.com>
- *  (C) Copyright 2011-2012
- *  Avionic Design GmbH <www.avionic-design.de>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra20-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/nyan-big.h deleted +0 -15
deleted file mode 100644
index 808cd908972..00000000000
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2014
- * NVIDIA Corporation <www.nvidia.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <linux/sizes.h>
-
-#include "tegra124-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/ouya.h deleted +0 -16
deleted file mode 100644
index 381941760e3..00000000000
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- *  (C) Copyright 2010,2012
- *  NVIDIA Corporation <www.nvidia.com>
- *
- *  (C) Copyright 2025
- *  Svyatoslav Ryhel <[email protected]>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra30-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/p2371-0000.h deleted +0 -15
deleted file mode 100644
index 79240bd8ed0..00000000000
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2013-2015
- * NVIDIA Corporation <www.nvidia.com>
- */
-
-#ifndef _P2371_0000_H
-#define _P2371_0000_H
-
-#include <linux/sizes.h>
-
-#include "tegra210-common.h"
-#include "tegra-common-post.h"
-
-#endif /* _P2371_0000_H */
include/configs/p2371-2180.h deleted +0 -15
deleted file mode 100644
index 24f3a7030e8..00000000000
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2013-2015
- * NVIDIA Corporation <www.nvidia.com>
- */
-
-#ifndef _P2371_2180_H
-#define _P2371_2180_H
-
-#include <linux/sizes.h>
-
-#include "tegra210-common.h"
-#include "tegra-common-post.h"
-
-#endif /* _P2371_2180_H */
include/configs/p2571.h deleted +0 -15
deleted file mode 100644
index 0dbb45e7c2a..00000000000
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2013-2015
- * NVIDIA Corporation <www.nvidia.com>
- */
-
-#ifndef _P2571_H
-#define _P2571_H
-
-#include <linux/sizes.h>
-
-#include "tegra210-common.h"
-#include "tegra-common-post.h"
-
-#endif /* _P2571_H */
include/configs/p2771-0000.h deleted +0 -14
deleted file mode 100644
index 914c68ffdf9..00000000000
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright (c) 2013-2016, NVIDIA CORPORATION.
- */
-
-#ifndef _P2771_0000_H
-#define _P2771_0000_H
-
-#include <linux/sizes.h>
-
-#include "tegra186-common.h"
-#include "tegra-common-post.h"
-
-#endif
include/configs/p3450-0000.h deleted +0 -14
deleted file mode 100644
index c5a74e8f8fe..00000000000
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2018-2019 NVIDIA Corporation.
- */
-
-#ifndef _P3450_0000_H
-#define _P3450_0000_H
-
-#include <linux/sizes.h>
-
-#include "tegra210-common.h"
-#include "tegra-common-post.h"
-
-#endif /* _P3450_0000_H */
include/configs/paz00.h deleted +0 -16
deleted file mode 100644
index ec123804545..00000000000
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright (c) 2010-2012 NVIDIA CORPORATION.  All rights reserved.
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <linux/sizes.h>
-#include "tegra20-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/picasso.h deleted +0 -16
deleted file mode 100644
index 4b6837dc000..00000000000
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- *  (C) Copyright 2010,2011
- *  NVIDIA Corporation <www.nvidia.com>
- *
- *  (C) Copyright 2024
- *  Svyatoslav Ryhel <[email protected]>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra20-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/plutux.h deleted +0 -15
deleted file mode 100644
index becff398a56..00000000000
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- *  (C) Copyright 2010,2011
- *  NVIDIA Corporation <www.nvidia.com>
- *  (C) Copyright 2011-2012
- *  Avionic Design GmbH <www.avionic-design.de>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra20-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/qc750.h deleted +0 -16
deleted file mode 100644
index 2acafb488b1..00000000000
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- *  (C) Copyright 2010,2012
- *  NVIDIA Corporation <www.nvidia.com>
- *
- *  (C) Copyright 2023
- *  Svyatoslav Ryhel <[email protected]>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra30-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/seaboard.h deleted +0 -15
deleted file mode 100644
index 4a2c6623ac1..00000000000
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- *  (C) Copyright 2010,2011
- *  NVIDIA Corporation <www.nvidia.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <linux/sizes.h>
-
-#include "tegra20-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/surface-rt.h deleted +0 -14
deleted file mode 100644
index 39f7dddf3d4..00000000000
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright (c) 2010-2012, NVIDIA CORPORATION.  All rights reserved.
- *
- * Copyright (c) 2021, Open Surface RT
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra30-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/tec-ng.h deleted +0 -13
deleted file mode 100644
index 3d6cb0b5257..00000000000
@@ -1,13 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2013
- * Avionic Design GmbH <www.avionic-design.de>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra30-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/tec.h deleted +0 -15
deleted file mode 100644
index becff398a56..00000000000
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- *  (C) Copyright 2010,2011
- *  NVIDIA Corporation <www.nvidia.com>
- *  (C) Copyright 2011-2012
- *  Avionic Design GmbH <www.avionic-design.de>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra20-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/tegra.h new file +32 -0
new file mode 100644
index 00000000000..0a880fdc1ec
@@ -0,0 +1,32 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ *  (C) Copyright 2010,2011
+ *  NVIDIA Corporation <www.nvidia.com>
+ *
+ *  (C) Copyright 2025
+ *  Svyatoslav Ryhel <[email protected]>
+ *
+ *  Generic device header which can be used with SYS_CONFIG_NAME
+ *  for any Tegra device (T20, T30, T114, T124 or T210).
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#include <linux/sizes.h>
+
+#ifdef CONFIG_TEGRA20
+#include "tegra20-common.h"
+#elif CONFIG_TEGRA30
+#include "tegra30-common.h"
+#elif CONFIG_TEGRA114
+#include "tegra114-common.h"
+#elif CONFIG_TEGRA124
+#include "tegra124-common.h"
+#elif CONFIG_TEGRA210
+#include "tegra210-common.h"
+#endif
+
+#include "tegra-common-post.h"
+
+#endif /* __CONFIG_H */
include/configs/transformer-t20.h deleted +0 -16
deleted file mode 100644
index b82c6e34c8f..00000000000
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- *  (C) Copyright 2010,2011
- *  NVIDIA Corporation <www.nvidia.com>
- *
- *  (C) Copyright 2022
- *  Svyatoslav Ryhel <[email protected]>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra20-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/transformer-t30.h deleted +0 -16
deleted file mode 100644
index 8cb3e414af2..00000000000
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- *  (C) Copyright 2010,2012
- *  NVIDIA Corporation <www.nvidia.com>
- *
- *  (C) Copyright 2022
- *  Svyatoslav Ryhel <[email protected]>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra30-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/trimslice.h deleted +0 -14
deleted file mode 100644
index beecb70cd0c..00000000000
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- *  (C) Copyright 2010-2012
- *  NVIDIA Corporation <www.nvidia.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <linux/sizes.h>
-#include "tegra20-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/venice2.h deleted +0 -15
deleted file mode 100644
index bbebe53d17e..00000000000
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2013-2014
- * NVIDIA Corporation <www.nvidia.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <linux/sizes.h>
-
-#include "tegra124-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/ventana.h deleted +0 -14
deleted file mode 100644
index 00f9909b122..00000000000
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- *  (C) Copyright 2010,2011
- *  NVIDIA Corporation <www.nvidia.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include <linux/sizes.h>
-#include "tegra20-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
include/configs/x3-t30.h deleted +0 -16
deleted file mode 100644
index 8cb3e414af2..00000000000
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- *  (C) Copyright 2010,2012
- *  NVIDIA Corporation <www.nvidia.com>
- *
- *  (C) Copyright 2022
- *  Svyatoslav Ryhel <[email protected]>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra30-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
Signature · 1 line
2.43.0