u-boot/tools/dtoc
Simon Glass d6a33918fb 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>
2016-07-25 12:05:55 -04:00
..
.gitignore dm: Add a library to provide simple device-tree access 2016-07-14 20:40:24 -06:00
dtoc dm: Add a tool to generate C code from a device tree 2016-07-14 20:40:24 -06:00
dtoc.py dm: core: Expand platdata for of-platdata devices 2016-07-14 20:40:24 -06:00
fdt.py dm: Add a more efficient libfdt library 2016-07-14 20:40:24 -06:00
fdt_fallback.py dtoc: Correct the type widening code in fdt_fallback 2016-07-25 12:05:55 -04:00
fdt_util.py dm: Add a library to provide simple device-tree access 2016-07-14 20:40:24 -06:00