Skip to content
Snippets Groups Projects
Commit d6a33918 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarTom Rini <trini@konsulko.com>
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarTom Rini <trini@konsulko.com>
parent c55d02b2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment