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

Tom Warren
2012-09-13T20:02:42Z

Tom,

On Thu, Sep 13, 2012 at 11:00 AM, Tom Rini <trini@ti.com> wrote:
> 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@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.

Done, will be in V2. Thanks.

Tom
>
> --
> Tom