{
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");
config SYS_CONFIG_NAME
default "picasso"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "Acer Iconia Tab A500"
+
endif
config SYS_CONFIG_NAME
default "grouper"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "ASUS Google Nexus 7 (2012)"
+
endif
config SYS_CONFIG_NAME
default "transformer-t20"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "ASUS Transformer T20"
+
endif
config SYS_CONFIG_NAME
default "transformer-t30"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "ASUS Transformer T30"
+
endif
config SYS_CONFIG_NAME
default "medcom-wide"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "Avionic Design Medcom-Wide"
+
endif
config SYS_CONFIG_NAME
default "plutux"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "Avionic Design Plutux"
+
endif
config SYS_CONFIG_NAME
default "tec-ng"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "Avionic Design Tamonten™ NG Evaluation Carrier"
+
endif
config SYS_CONFIG_NAME
default "tec"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "Avionic Design Tamonten Evaluation Carrier"
+
endif
config SYS_CONFIG_NAME
default "cei-tk1-som"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "CEI tk1-som"
+
endif
config SYS_CONFIG_NAME
default "paz00"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "Compal Paz00"
+
endif
config SYS_CONFIG_NAME
default "trimslice"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "Compulab Trimslice"
+
endif
config SYS_CONFIG_NAME
default "endeavoru"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "HTC One X"
+
endif
config SYS_CONFIG_NAME
default "ideapad-yoga-11"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "Lenovo Ideapad Yoga 11"
+
endif
config SYS_CONFIG_NAME
default "x3-t30"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "LG X3 Board"
+
endif
config SYS_CONFIG_NAME
default "surface-rt"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "Microsoft Surface RT"
+
endif
config SYS_CONFIG_NAME
default "mot"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "Motorola Mot"
+
endif
config SYS_CONFIG_NAME
default "beaver"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "NVIDIA Beaver"
+
endif
config SYS_CONFIG_NAME
default "cardhu"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "NVIDIA Cardhu"
+
endif
config SYS_CONFIG_NAME
default "dalmore"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "NVIDIA Dalmore"
+
endif
config SYS_CONFIG_NAME
default "harmony"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "NVIDIA Harmony"
+
endif
config SYS_CONFIG_NAME
default "jetson-tk1"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "NVIDIA Jetson TK1"
+
endif
config SYS_CONFIG_NAME
default "nyan-big"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "Google/NVIDIA Nyan-big"
+
endif
config SYS_CONFIG_NAME
default "p2371-0000"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "NVIDIA P2371-0000"
+
endif
config SYS_CONFIG_NAME
default "p2371-2180"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "NVIDIA P2371-2180"
+
endif
config SYS_CONFIG_NAME
default "p2571"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "NVIDIA P2571"
+
endif
config SYS_CONFIG_NAME
default "p2771-0000"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "NVIDIA P2771-0000"
+
endif
config SYS_CONFIG_NAME
default "p3450-0000"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "NVIDIA P3450-0000"
+
endif
config SYS_CONFIG_NAME
default "seaboard"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "NVIDIA Seaboard"
+
endif
config SYS_CONFIG_NAME
default "venice2"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "NVIDIA Venice2"
+
endif
config SYS_CONFIG_NAME
default "ventana"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "NVIDIA Ventana"
+
endif
config SYS_CONFIG_NAME
default "ouya"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "Ouya Game Console"
+
endif
config SYS_CONFIG_NAME
default "qc750"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "Wexler QC750"
+
endif
config SYS_CONFIG_NAME
default "mocha"
+config TEGRA_BOARD_STRING
+ string "Default Tegra board name"
+ default "Xiaomi Mocha"
+
endif
#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 <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 <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 <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 */
#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 */
#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 <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 */
#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 <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 */
#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 "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 <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 <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 */
#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 <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 <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 <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 <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 <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 <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 */
#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 */
#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 */
#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 <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 */
#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 */
#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 */
#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 */
#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 */
#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 <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 <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 <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 */
#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 */