From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 13 Sep 2012 11:00:22 -0700 Subject: [U-Boot] [PATCH 9/9] Tegra30: Enable Cardhu build (SPL) In-Reply-To: <1347487855-27077-10-git-send-email-twarren@nvidia.com> References: <1347487855-27077-1-git-send-email-twarren@nvidia.com> <1347487855-27077-10-git-send-email-twarren@nvidia.com> Message-ID: <50521F36.9050107@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 [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