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

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>
This commit is contained in:
Svyatoslav Ryhel 2025-03-31 17:18:18 +03:00
parent ee3462160c
commit 9ee12daa59
71 changed files with 85 additions and 561 deletions

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "acer" default "acer"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "picasso" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "asus" default "asus"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "grouper" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "asus" default "asus"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "transformer-t20" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "asus" default "asus"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "transformer-t30" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "avionic-design" default "avionic-design"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "medcom-wide" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "avionic-design" default "avionic-design"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "plutux" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "avionic-design" default "avionic-design"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "tec-ng" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "avionic-design" default "avionic-design"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "tec" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "cei" default "cei"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "cei-tk1-som" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "compal" default "compal"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "paz00" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "compulab" default "compulab"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "trimslice" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "htc" default "htc"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "endeavoru" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "lenovo" default "lenovo"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "ideapad-yoga-11" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "lg" default "lg"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "x3-t30" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "microsoft" default "microsoft"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "surface-rt" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "beaver" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "cardhu" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "dalmore" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "harmony" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "jetson-tk1" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "nyan-big" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "p2371-0000" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "p2371-2180" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "p2571" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -11,7 +11,7 @@ config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "p2771-0000" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "p3450-0000" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "seaboard" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "venice2" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "nvidia" default "nvidia"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "ventana" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "ouya" default "ouya"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "ouya" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "toradex" default "toradex"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "apalis_t30" default "tegra"
config TDX_CFG_BLOCK config TDX_CFG_BLOCK
default y default y

View file

@ -1,6 +1,15 @@
uboot_hwpart=1 uboot_hwpart=1
uboot_blk=0 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 && set_blkcnt=setexpr blkcnt ${filesize} + 0x1ff &&
setexpr blkcnt ${blkcnt} / 0x200 setexpr blkcnt ${blkcnt} / 0x200
update_uboot=run set_blkcnt && mmc dev 0 ${uboot_hwpart} && update_uboot=run set_blkcnt && mmc dev 0 ${uboot_hwpart} &&

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "toradex" default "toradex"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "colibri_t20" default "tegra"
config TDX_CFG_BLOCK config TDX_CFG_BLOCK
default y default y

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "toradex" default "toradex"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "colibri_t30" default "tegra"
config TDX_CFG_BLOCK config TDX_CFG_BLOCK
default y default y

View file

@ -1,6 +1,14 @@
uboot_hwpart=1 uboot_hwpart=1
uboot_blk=0 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 && set_blkcnt=setexpr blkcnt ${filesize} + 0x1ff &&
setexpr blkcnt ${blkcnt} / 0x200 setexpr blkcnt ${blkcnt} / 0x200
update_uboot=run set_blkcnt && mmc dev 0 ${uboot_hwpart} && update_uboot=run set_blkcnt && mmc dev 0 ${uboot_hwpart} &&

View file

@ -7,7 +7,7 @@ config SYS_VENDOR
default "wexler" default "wexler"
config SYS_CONFIG_NAME config SYS_CONFIG_NAME
default "qc750" default "tegra"
config TEGRA_BOARD_STRING config TEGRA_BOARD_STRING
string "Default Tegra board name" string "Default Tegra board name"

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

34
include/configs/tegra.h Normal file
View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */