[U-Boot] [PATCH 9/9] Tegra30: Enable Cardhu build (SPL)

Tom Rini trini at ti.com
Thu Sep 13 20:00:22 CEST 2012


On 09/12/2012 03:10 PM, Tom Warren wrote:
> This builds & boots to the command prompt on a Cardhu (T30) board.
> This is a barebones binary - no I2C, USB, MMC, SPI, etc.
> Drivers for those peripherals to follow.
> 
> Signed-off-by: Tom Warren <twarren at nvidia.com>
[snip]
> -ifneq ($(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(CONFIG_TEGRA20),)
> +ifneq ($(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(CONFIG_TEGRA20)$(CONFIG_TEGRA30),)
[snip]
> -	defined(CONFIG_TEGRA20) || defined(CONFIG_SYS_COREBOOT)
> +	defined(CONFIG_TEGRA20) || defined(CONFIG_SYS_COREBOOT) || \
> +	defined(CONFIG_TEGRA30)

In both of these cases I think you should just switch to CONFIG_TEGRA
rather than TEGRA20 || TEGRA30 and if TEGRA40 somehow invalidates this
logic we can deal with it then but assume it won't.

-- 
Tom


More information about the U-Boot mailing list