]> git.baikalelectronics.ru Git - uboot.git/commit
fdt: Drop OF_CONTROL check in fdtdec_setup()
authorSimon Glass <sjg@chromium.org>
Fri, 17 Dec 2021 03:59:29 +0000 (20:59 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 23 Dec 2021 15:24:39 +0000 (10:24 -0500)
commiteda34b6509bdc7722714e5df50fe2b1f0940d8a8
tree8e2acd7c6156dc3f47493bb5a95e571b9367112e
parent60572a24f57aa7e9ffed540ad30d026faddfde4c
fdt: Drop OF_CONTROL check in fdtdec_setup()

This function should only be called when OF_CONTROL is enabled. It
fails in fdtdec_prepare_fdt() anyway, since gd->fdt_blob stays as NULL
if OF_CONTROL is not enabled.

Drop this useless check.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/fdtdec.c