diff options
| author | Svyatoslav Ryhel <[email protected]> | 2025-03-31 17:18:18 +0300 |
|---|---|---|
| committer | Svyatoslav Ryhel <[email protected]> | 2025-04-12 11:11:05 +0300 |
| commit | 9ee12daa591b8adefa8ae221295a85e2ee467742 (patch) | |
| tree | 268b729bbefd6ad2790f32568a274ae870a574ae /include/configs/tegra.h | |
| parent | ee3462160cf2fdf29b44ef83df0265a19c37bc0a (diff) | |
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 <[email protected]>
Diffstat (limited to 'include/configs/tegra.h')
| -rw-r--r-- | include/configs/tegra.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/configs/tegra.h b/include/configs/tegra.h new file mode 100644 index 00000000000..77bc38930d2 --- /dev/null +++ b/include/configs/tegra.h @@ -0,0 +1,34 @@ +/* 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, 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 */ |
