mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
ARM: tegra: move common config defines centrally
All boards need CONFIG_BOARD_EARLY_INIT_F, and many actively need CONFIG_BOARD_LATE_INIT. Move both of these into tegra-common.h so that board config headers don't need to repeatedly define them. Later commits will add new code in board_late_init() which applies to all boards, so CONFIG_BOARD_LATE_INIT should be enabled for all Tegra boards. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
This commit is contained in:
parent
56519c4f04
commit
026baff755
20 changed files with 2 additions and 45 deletions
|
@ -22,8 +22,6 @@
|
|||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_APALIS_T30
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
#define CONFIG_CMD_I2C
|
||||
|
|
|
@ -36,8 +36,6 @@
|
|||
#define MACH_TYPE_BEAVER 4597 /* not yet in mach-types.h */
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_BEAVER
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
#define CONFIG_CMD_I2C
|
||||
|
|
|
@ -39,8 +39,6 @@
|
|||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_CARDHU
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
#define CONFIG_CMD_I2C
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
#define CONFIG_TEGRA_UARTA_SDIO1
|
||||
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
/* SD/MMC support */
|
||||
#define CONFIG_MMC
|
||||
#define CONFIG_GENERIC_MMC
|
||||
|
|
|
@ -21,8 +21,6 @@
|
|||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_COLIBRI_T30
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
#define CONFIG_CMD_I2C
|
||||
|
|
|
@ -32,8 +32,6 @@
|
|||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_DALMORE
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
#define CONFIG_CMD_I2C
|
||||
|
|
|
@ -27,9 +27,6 @@
|
|||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_HARMONY
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
#define CONFIG_BOARD_LATE_INIT /* Make sure LCD init is complete */
|
||||
|
||||
/* SD/MMC */
|
||||
#define CONFIG_MMC
|
||||
#define CONFIG_GENERIC_MMC
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
#define CONFIG_TEGRA_ENABLE_UARTD
|
||||
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
#define CONFIG_CMD_I2C
|
||||
|
|
|
@ -20,9 +20,6 @@
|
|||
#define CONFIG_TEGRA_ENABLE_UARTD /* UARTD: debug UART */
|
||||
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
#define CONFIG_BOARD_LATE_INIT
|
||||
|
||||
/* SD/MMC */
|
||||
#define CONFIG_MMC
|
||||
#define CONFIG_GENERIC_MMC
|
||||
|
|
|
@ -21,8 +21,6 @@
|
|||
#define CONFIG_TEGRA_ENABLE_UARTA
|
||||
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
#define CONFIG_CMD_I2C
|
||||
|
|
|
@ -30,9 +30,6 @@
|
|||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_PAZ00
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
#define CONFIG_BOARD_LATE_INIT
|
||||
|
||||
/* SD/MMC */
|
||||
#define CONFIG_MMC
|
||||
#define CONFIG_GENERIC_MMC
|
||||
|
|
|
@ -20,9 +20,6 @@
|
|||
#define CONFIG_TEGRA_ENABLE_UARTD /* UARTD: debug UART */
|
||||
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
#define CONFIG_BOARD_LATE_INIT
|
||||
|
||||
/* SD/MMC */
|
||||
#define CONFIG_MMC
|
||||
#define CONFIG_GENERIC_MMC
|
||||
|
|
|
@ -32,9 +32,6 @@
|
|||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_SEABOARD
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
#define CONFIG_BOARD_LATE_INIT /* Make sure LCD init is complete */
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
#define CONFIG_CMD_I2C
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
#define CONFIG_TEGRA_ENABLE_UARTD
|
||||
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
#define CONFIG_CMD_I2C
|
||||
|
|
|
@ -20,9 +20,6 @@
|
|||
#define CONFIG_TEGRA_ENABLE_UARTD /* UARTD: debug UART */
|
||||
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
#define CONFIG_BOARD_LATE_INIT
|
||||
|
||||
/* SD/MMC */
|
||||
#define CONFIG_MMC
|
||||
#define CONFIG_GENERIC_MMC
|
||||
|
|
|
@ -151,6 +151,8 @@
|
|||
#define CONFIG_SPL_GPIO_SUPPORT
|
||||
|
||||
#define CONFIG_SYS_GENERIC_BOARD
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
#define CONFIG_BOARD_LATE_INIT
|
||||
|
||||
/* Misc utility code */
|
||||
#define CONFIG_BOUNCE_BUFFER
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_TRIMSLICE
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
/* SPI */
|
||||
#define CONFIG_TEGRA20_SFLASH
|
||||
#define CONFIG_SPI_FLASH
|
||||
|
|
|
@ -21,8 +21,6 @@
|
|||
#define CONFIG_TEGRA_ENABLE_UARTA
|
||||
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
#define CONFIG_CMD_I2C
|
||||
|
|
|
@ -21,9 +21,6 @@
|
|||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_VENTANA
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
#define CONFIG_BOARD_LATE_INIT /* Make sure LCD init is complete */
|
||||
|
||||
/* SD/MMC */
|
||||
#define CONFIG_MMC
|
||||
#define CONFIG_GENERIC_MMC
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_WHISTLER
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_SYS_I2C_TEGRA
|
||||
#define CONFIG_CMD_I2C
|
||||
|
|
Loading…
Reference in a new issue