[U-Boot] [PATCH V3 4/5] ARM: tegra: select between Seaboard/Ventana at compile time

Simon Glass sjg at chromium.org
Thu Oct 25 20:13:44 CEST 2012


On Mon, Oct 22, 2012 at 9:19 AM, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> Seaboard and Ventana are very similar boards, and so share the seaboard.c
> board file. The one difference needed so far is detected at run-time by
> calling machine_is_ventana(). This bloats the Ventana build with code
> that is never used. Switch to detecting Ventana at compile time to remove
> bloat. This shaves ~5K off the SPL size on Ventana, and makes the SPL fit
> within the max size.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>

I tested this series on seaboard.

Acked-by: Simon Glass <sjg at chromium.org>
Tested-by: Simon Glass <sjg at chromium.org>

> ---
> v3: Combined back-to-back #ifdefs.
> v2: New patch to replace modification of CONFIG_SYS_TEXT_BASE.
> ---


More information about the U-Boot mailing list