[U-Boot] [PATCH] env: don't generate callback list entries for SPL

Joe Hershberger joe.hershberger at gmail.com
Sat Dec 15 08:04:23 CET 2012


Hi Scott,

On Fri, Dec 14, 2012 at 6:54 PM, Scott Wood <scottwood at freescale.com> wrote:
> SPL doesn't use the environment.  These list entries prevent the
> functions from being garbage-collected, even though nothing will look at
> the list.  This caused several SPL builds (e.g. P2020RDB-PC_NAND) to
> break due to size limitations.
>
> A static inline function is used to provide a context in which we
> can consume the callback, and thus avoid unused function warnings.
>
> Signed-off-by: Scott Wood <scottwood at freescale.com>

Sorry about that.

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list