ARM: tegra: convert CFG_TEGRA_BOARD_STRING into Kconfig option

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

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
This commit is contained in:
Svyatoslav Ryhel
2025-03-31 16:44:24 +03:00
parent 11bf63c230
commit ee3462160c
67 changed files with 133 additions and 183 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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