[U-Boot] Question regarding MLO size

Ash Charles ashcharles at gmail.com
Tue Apr 21 22:12:37 CEST 2015


On Tue, Apr 21, 2015 at 12:23 PM, Tom Rini <trini at konsulko.com> wrote:
> Sadly it may make sense to move some SPL-only
> functions out into a file that is only built/linked for SPL due to this
> bug.
Ah---that is a funky bug.
Is it reasonable to wrap the offending lines in a
#ifndef CONFIG_SPL_BUILD
<u-boot code with strings that bloat SPL>
#endif // CONFIG_SPL_BUILD
?
Would this restrict it to be included only in u-boot (where the code
is needed) rather than getting unnecessarily pulled into SPL?

--Ash


More information about the U-Boot mailing list