[U-Boot] Question regarding MLO size
Tom Rini
trini at konsulko.com
Tue Apr 21 22:16:02 CEST 2015
On Tue, Apr 21, 2015 at 01:12:37PM -0700, Ash Charles wrote:
> 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?
That starts getting pretty messy looking which is why I was thinking of
following the mx6 model of having boardname.c and boardname_spl.c or
just board.c and spl.c
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150421/1477f374/attachment.sig>
More information about the U-Boot
mailing list