ARM: tegra: replace per-device config headers with generic Tegra
authorSvyatoslav Ryhel <clamor95@gmail.com>
Mon, 31 Mar 2025 14:18:18 +0000 (17:18 +0300)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Sat, 12 Apr 2025 08:11:05 +0000 (11:11 +0300)
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.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
71 files changed:
board/acer/picasso/Kconfig
board/asus/grouper/Kconfig
board/asus/transformer-t20/Kconfig
board/asus/transformer-t30/Kconfig
board/avionic-design/medcom-wide/Kconfig
board/avionic-design/plutux/Kconfig
board/avionic-design/tec-ng/Kconfig
board/avionic-design/tec/Kconfig
board/cei/cei-tk1-som/Kconfig
board/compal/paz00/Kconfig
board/compulab/trimslice/Kconfig
board/htc/endeavoru/Kconfig
board/lenovo/ideapad-yoga-11/Kconfig
board/lg/x3-t30/Kconfig
board/microsoft/surface-rt/Kconfig
board/nvidia/beaver/Kconfig
board/nvidia/cardhu/Kconfig
board/nvidia/dalmore/Kconfig
board/nvidia/harmony/Kconfig
board/nvidia/jetson-tk1/Kconfig
board/nvidia/nyan-big/Kconfig
board/nvidia/p2371-0000/Kconfig
board/nvidia/p2371-2180/Kconfig
board/nvidia/p2571/Kconfig
board/nvidia/p2771-0000/Kconfig
board/nvidia/p3450-0000/Kconfig
board/nvidia/seaboard/Kconfig
board/nvidia/venice2/Kconfig
board/nvidia/ventana/Kconfig
board/ouya/ouya/Kconfig
board/toradex/apalis_t30/Kconfig
board/toradex/apalis_t30/apalis_t30.env
board/toradex/colibri_t20/Kconfig
board/toradex/colibri_t30/Kconfig
board/toradex/colibri_t30/colibri_t30.env
board/wexler/qc750/Kconfig
include/configs/apalis_t30.h [deleted file]
include/configs/beaver.h [deleted file]
include/configs/cardhu.h [deleted file]
include/configs/cei-tk1-som.h [deleted file]
include/configs/colibri_t20.h [deleted file]
include/configs/colibri_t30.h [deleted file]
include/configs/dalmore.h [deleted file]
include/configs/endeavoru.h [deleted file]
include/configs/grouper.h [deleted file]
include/configs/harmony.h [deleted file]
include/configs/ideapad-yoga-11.h [deleted file]
include/configs/jetson-tk1.h [deleted file]
include/configs/medcom-wide.h [deleted file]
include/configs/nyan-big.h [deleted file]
include/configs/ouya.h [deleted file]
include/configs/p2371-0000.h [deleted file]
include/configs/p2371-2180.h [deleted file]
include/configs/p2571.h [deleted file]
include/configs/p2771-0000.h [deleted file]
include/configs/p3450-0000.h [deleted file]
include/configs/paz00.h [deleted file]
include/configs/picasso.h [deleted file]
include/configs/plutux.h [deleted file]
include/configs/qc750.h [deleted file]
include/configs/seaboard.h [deleted file]
include/configs/surface-rt.h [deleted file]
include/configs/tec-ng.h [deleted file]
include/configs/tec.h [deleted file]
include/configs/tegra.h [new file with mode: 0644]
include/configs/transformer-t20.h [deleted file]
include/configs/transformer-t30.h [deleted file]
include/configs/trimslice.h [deleted file]
include/configs/venice2.h [deleted file]
include/configs/ventana.h [deleted file]
include/configs/x3-t30.h [deleted file]

index c801bd2..879b778 100644 (file)
@@ -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"
index 5f25680..3bd712b 100644 (file)
@@ -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"
index 2bf4282..3e80d38 100644 (file)
@@ -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"
index 04278f1..34fd6f2 100644 (file)
@@ -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"
index 741fc25..54474b5 100644 (file)
@@ -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"
index 57324dc..35b19dd 100644 (file)
@@ -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"
index 34e2729..8782e7a 100644 (file)
@@ -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"
index 56b4179..12cc4e1 100644 (file)
@@ -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"
index 32ff61a..9b94473 100644 (file)
@@ -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"
index 0ddac85..7fa47fc 100644 (file)
@@ -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"
index b26c297..226ebc2 100644 (file)
@@ -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"
index f096737..ef50da9 100644 (file)
@@ -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"
index 670a5bb..cd4aa32 100644 (file)
@@ -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"
index 5a3a67d..d2cdf86 100644 (file)
@@ -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"
index 7c8f67f..6afddb9 100644 (file)
@@ -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"
index be46121..fe36d47 100644 (file)
@@ -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"
index 8a98ace..92de3f2 100644 (file)
@@ -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"
index 643e082..8da3499 100644 (file)
@@ -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"
index 1f2bfdf..eedee71 100644 (file)
@@ -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"
index 7a2ffd8..9eeb55f 100644 (file)
@@ -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"
index b239d69..65fef3c 100644 (file)
@@ -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"
index 28e9f39..e277078 100644 (file)
@@ -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"
index ffb4122..8d97dc3 100644 (file)
@@ -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"
index 1fc1978..1d41e9d 100644 (file)
@@ -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"
index 52a22b7..199e04d 100644 (file)
@@ -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"
index 48a94e2..9235c2a 100644 (file)
@@ -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"
index df62519..a6baeeb 100644 (file)
@@ -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"
index 7bd51c7..9ebaa2f 100644 (file)
@@ -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"
index ea1146f..b8654c2 100644 (file)
@@ -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"
index 2db127f..c698f73 100644 (file)
@@ -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"
index 9cd4970..6260f8e 100644 (file)
@@ -7,7 +7,7 @@ config SYS_VENDOR
        default "toradex"
 
 config SYS_CONFIG_NAME
-       default "apalis_t30"
+       default "tegra"
 
 config TDX_CFG_BLOCK
        default y
index a8f2904..85d0a05 100644 (file)
@@ -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} &&
index a43acdd..8a7295a 100644 (file)
@@ -7,7 +7,7 @@ config SYS_VENDOR
        default "toradex"
 
 config SYS_CONFIG_NAME
-       default "colibri_t20"
+       default "tegra"
 
 config TDX_CFG_BLOCK
        default y
index 68ef82b..643309f 100644 (file)
@@ -7,7 +7,7 @@ config SYS_VENDOR
        default "toradex"
 
 config SYS_CONFIG_NAME
-       default "colibri_t30"
+       default "tegra"
 
 config TDX_CFG_BLOCK
        default y
index a8f2904..87919fb 100644 (file)
@@ -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} &&
index 2994335..b449720 100644 (file)
@@ -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"
diff --git a/include/configs/apalis_t30.h b/include/configs/apalis_t30.h
deleted file mode 100644 (file)
index c806ad0..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/beaver.h b/include/configs/beaver.h
deleted file mode 100644 (file)
index 21b37b7..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h
deleted file mode 100644 (file)
index 7fc2d85..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/cei-tk1-som.h b/include/configs/cei-tk1-som.h
deleted file mode 100644 (file)
index aa4057d..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h
deleted file mode 100644 (file)
index d96a87c..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/colibri_t30.h b/include/configs/colibri_t30.h
deleted file mode 100644 (file)
index 0c93f37..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/dalmore.h b/include/configs/dalmore.h
deleted file mode 100644 (file)
index 0946588..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/endeavoru.h b/include/configs/endeavoru.h
deleted file mode 100644 (file)
index 8cb3e41..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- *  (C) Copyright 2010,2012
- *  NVIDIA Corporation <www.nvidia.com>
- *
- *  (C) Copyright 2022
- *  Svyatoslav Ryhel <clamor95@gmail.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra30-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
diff --git a/include/configs/grouper.h b/include/configs/grouper.h
deleted file mode 100644 (file)
index aacbcf1..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/harmony.h b/include/configs/harmony.h
deleted file mode 100644 (file)
index beecb70..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/ideapad-yoga-11.h b/include/configs/ideapad-yoga-11.h
deleted file mode 100644 (file)
index aacbcf1..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/jetson-tk1.h b/include/configs/jetson-tk1.h
deleted file mode 100644 (file)
index e4ee5ce..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/medcom-wide.h b/include/configs/medcom-wide.h
deleted file mode 100644 (file)
index becff39..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/nyan-big.h b/include/configs/nyan-big.h
deleted file mode 100644 (file)
index 808cd90..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/ouya.h b/include/configs/ouya.h
deleted file mode 100644 (file)
index 3819417..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- *  (C) Copyright 2010,2012
- *  NVIDIA Corporation <www.nvidia.com>
- *
- *  (C) Copyright 2025
- *  Svyatoslav Ryhel <clamor95@gmail.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra30-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
diff --git a/include/configs/p2371-0000.h b/include/configs/p2371-0000.h
deleted file mode 100644 (file)
index 79240bd..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/p2371-2180.h b/include/configs/p2371-2180.h
deleted file mode 100644 (file)
index 24f3a70..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/p2571.h b/include/configs/p2571.h
deleted file mode 100644 (file)
index 0dbb45e..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/p2771-0000.h b/include/configs/p2771-0000.h
deleted file mode 100644 (file)
index 914c68f..0000000
+++ /dev/null
@@ -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
diff --git a/include/configs/p3450-0000.h b/include/configs/p3450-0000.h
deleted file mode 100644 (file)
index c5a74e8..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/paz00.h b/include/configs/paz00.h
deleted file mode 100644 (file)
index ec12380..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/picasso.h b/include/configs/picasso.h
deleted file mode 100644 (file)
index 4b6837d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- *  (C) Copyright 2010,2011
- *  NVIDIA Corporation <www.nvidia.com>
- *
- *  (C) Copyright 2024
- *  Svyatoslav Ryhel <clamor95@gmail.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra20-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
diff --git a/include/configs/plutux.h b/include/configs/plutux.h
deleted file mode 100644 (file)
index becff39..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/qc750.h b/include/configs/qc750.h
deleted file mode 100644 (file)
index 2acafb4..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- *  (C) Copyright 2010,2012
- *  NVIDIA Corporation <www.nvidia.com>
- *
- *  (C) Copyright 2023
- *  Svyatoslav Ryhel <clamor95@gmail.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra30-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h
deleted file mode 100644 (file)
index 4a2c662..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/surface-rt.h b/include/configs/surface-rt.h
deleted file mode 100644 (file)
index 39f7ddd..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/tec-ng.h b/include/configs/tec-ng.h
deleted file mode 100644 (file)
index 3d6cb0b..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/tec.h b/include/configs/tec.h
deleted file mode 100644 (file)
index becff39..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/tegra.h b/include/configs/tegra.h
new file mode 100644 (file)
index 0000000..77bc389
--- /dev/null
@@ -0,0 +1,34 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ *  (C) Copyright 2010,2011
+ *  NVIDIA Corporation <www.nvidia.com>
+ *
+ *  (C) Copyright 2025
+ *  Svyatoslav Ryhel <clamor95@gmail.com>
+ *
+ *  Generic device header which can be used with SYS_CONFIG_NAME
+ *  for any Tegra device (T20, T30, T114, T124, T186 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_TEGRA186
+#include "tegra186-common.h"
+#elif CONFIG_TEGRA210
+#include "tegra210-common.h"
+#endif
+
+#include "tegra-common-post.h"
+
+#endif /* __CONFIG_H */
diff --git a/include/configs/transformer-t20.h b/include/configs/transformer-t20.h
deleted file mode 100644 (file)
index b82c6e3..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- *  (C) Copyright 2010,2011
- *  NVIDIA Corporation <www.nvidia.com>
- *
- *  (C) Copyright 2022
- *  Svyatoslav Ryhel <clamor95@gmail.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra20-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
diff --git a/include/configs/transformer-t30.h b/include/configs/transformer-t30.h
deleted file mode 100644 (file)
index 8cb3e41..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- *  (C) Copyright 2010,2012
- *  NVIDIA Corporation <www.nvidia.com>
- *
- *  (C) Copyright 2022
- *  Svyatoslav Ryhel <clamor95@gmail.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra30-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */
diff --git a/include/configs/trimslice.h b/include/configs/trimslice.h
deleted file mode 100644 (file)
index beecb70..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/venice2.h b/include/configs/venice2.h
deleted file mode 100644 (file)
index bbebe53..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/ventana.h b/include/configs/ventana.h
deleted file mode 100644 (file)
index 00f9909..0000000
+++ /dev/null
@@ -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 */
diff --git a/include/configs/x3-t30.h b/include/configs/x3-t30.h
deleted file mode 100644 (file)
index 8cb3e41..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- *  (C) Copyright 2010,2012
- *  NVIDIA Corporation <www.nvidia.com>
- *
- *  (C) Copyright 2022
- *  Svyatoslav Ryhel <clamor95@gmail.com>
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#include "tegra30-common.h"
-#include "tegra-common-post.h"
-
-#endif /* __CONFIG_H */