121cfe5a84
In strange cases it is possible for fdtgrep to find nothing to output. Typically this means that the resulting SPL device tree is not going to allow anything to boot, but at present the tree is actually invalid, since it only has an END tag in the struct region. The FDT spec requires at least a root node. So add a special case to include at least this, if the FDT_REG_SUPERNODES flag is set. This ensures that grepping an empty tree still produces a valid tree. Also add comments to the enum since it is not completely obvious from the names now. The typical symptom of this problem is a message from binman: pylibfdt error -11: FDT_ERR_BADSTRUCTURE Signed-off-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
android_ab.c | ||
boot_fit.c | ||
bootm_os.c | ||
bootm.c | ||
bootretry.c | ||
common_fit.c | ||
fdt_region.c | ||
image-android-dt.c | ||
image-android.c | ||
image-board.c | ||
image-cipher.c | ||
image-fdt.c | ||
image-fit-sig.c | ||
image-fit.c | ||
image-host.c | ||
image-sig.c | ||
image.c | ||
Kconfig | ||
Makefile | ||
pxe_utils.c |