From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Wed, 03 Oct 2012 14:38:09 -0600 Subject: [U-Boot] [PATCH 6/7] Tegra30: Add generic Tegra30 build support In-Reply-To: <1349217955-8729-7-git-send-email-twarren@nvidia.com> References: <1349217955-8729-1-git-send-email-twarren@nvidia.com> <1349217955-8729-7-git-send-email-twarren@nvidia.com> Message-ID: <506CA231.1010600@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/02/2012 04:45 PM, Tom Warren wrote: > This patch adds basic Tegra30 (T30) build support - no specific > board is targeted. > > diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c > +#ifdef CONFIG_USB_EHCI_TEGRA > +#include > +#endif That seems unrelated. > +#ifdef CONFIG_TEGRA30 > +#include > +#endif ... > /* > + * Routine: pinmux_init > + * Description: Do individual peripheral pinmux configs > + */ > +static void pinmux_init(void) > +{ > +#if defined(CONFIG_TEGRA30) > + pinmux_config_table(tegra3_pinmux_common, > + ARRAY_SIZE(tegra3_pinmux_common)); > + > + pinmux_config_table(unused_pins_lowpower, > + ARRAY_SIZE(unused_pins_lowpower)); > +#endif > +} I think that should be done by the Cardhu board file, since the data is Cardhu-specific.