[U-Boot] [PATCH v3 04/12] libfdt: Add new headers and defines
David Gibson
david at gibson.dropbear.id.au
Tue Jun 28 05:02:55 CEST 2016
On Mon, Jun 27, 2016 at 09:25:27AM +0200, Maxime Ripard wrote:
> Hi David,
>
> On Mon, Jun 27, 2016 at 01:39:06AM +1000, David Gibson wrote:
> > On Fri, Jun 24, 2016 at 04:27:49PM +0200, Maxime Ripard wrote:
> > > The libfdt overlay support introduces a bunch of new includes and
> > > functions.
> > >
> > > Make sure we are able to build it by adding the needed glue.
> > >
> > > Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> >
> > Is this intended only for downstream u-boot only, or also for upstream
> > libfdt?
>
> U-Boot only.
>
> > If it's u-boot only, you don't really need the #ifdef UBOOT.
>
> Unfortunately, libfdt_env.h is also included by some userspace tools
> in U-Boot, which make use of strtoul while simple_strtoul is not
> defined there (and we should rely on libc's anyway), leading to
> link errors.
Ah, ok. The ifdef makes sense then.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160628/db9d594b/attachment.sig>
More information about the U-Boot
mailing list