[U-Boot] [U-Boot, 5/5] dtoc: Correct the type widening code in fdt_fallback

Tom Rini trini at konsulko.com
Tue Jul 26 04:33:02 CEST 2016


On Fri, Jul 22, 2016 at 09:22:49AM -0600, Simon Glass wrote:

> This code does not match the fdt version in fdt.py. When dtoc is unable to
> use the Python libfdt library, it uses the fallback version, which does not
> widen arrays correctly.
> 
> Fix this to avoid a warning 'excess elements in array initialize' in
> dt-platdata.c which happens on some platforms.
> 
> Reported-by: Tom Rini <trini at konsulko.com>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Tested-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160725/9e6bf2d4/attachment.sig>


More information about the U-Boot mailing list