[U-Boot] [PATCH 047/126] spl: Allow SPL/TPL to use of-platdata without libfdt

Bin Meng bmeng.cn at gmail.com
Tue Oct 8 05:46:21 UTC 2019


On Mon, Oct 7, 2019 at 9:55 AM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Sat, Oct 5, 2019 at 11:30 PM Bin Meng <bmeng.cn at gmail.com> wrote:
> >
> > On Wed, Sep 25, 2019 at 10:58 PM Simon Glass <sjg at chromium.org> wrote:
> > >
> > > At present libfdt is included in SPL/TPL if SPL/TPL_OF_CONTROL is enabled.
> > > But if of-platdata is in use this is not required. Update the condition to
> > > avoid building this extra code. This ensures that if a libfdt function is
> > > used it will produce a link error rather than silently increasing the
> > > build size.
> > >
> > > Signed-off-by: Simon Glass <sjg at chromium.org>
> > > ---
> > >
> > >  lib/Kconfig | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> >
> > Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
>
> applied to u-boot-x86/next, thanks!

This patch unfortunately breaks some ARM boards build, eg: chromebook_jerry

See
https://gitlab.denx.de/u-boot/custodians/u-boot-x86/-/jobs/17131
https://gitlab.denx.de/u-boot/custodians/u-boot-x86/-/jobs/17132

I will have to drop this patch from my queue.

Regards,
Bin


More information about the U-Boot mailing list