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

Tom Rini trini at konsulko.com
Sat Jul 23 00:05:13 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>

-- 
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/20160722/3719ea98/attachment.sig>


More information about the U-Boot mailing list