commit | d6a33918fb50fe2f3917b400cb84220b1d7e4392 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Jul 22 09:22:49 2016 -0600 |
committer | Tom Rini <trini@konsulko.com> | Mon Jul 25 12:05:55 2016 -0400 |
tree | 2d2f6ab49b02292d4eb26da7cb31b56979529ac8 | |
parent | c55d02b2aca9b477dcf4c81062cc8e301d8c89d8 [diff] |
dtoc: Correct the type widening code in fdt_fallback 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@konsulko.com> Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Tom Rini <trini@konsulko.com>