fdtdec: Use CONFIG_IS_ENABLED in board_fdt_blob_setup()
authorSimon Glass <sjg@chromium.org>
Thu, 14 Jan 2021 03:29:49 +0000 (20:29 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 27 Jan 2021 22:03:16 +0000 (17:03 -0500)
commit0a2aaab0b678fd1778ff2fc59d0770fc82995532
tree03d16bb2f4189adc041241931662cb850889ebba
parente1d23f569bb3d07611cc5e5ee41b32f553cabb9f
fdtdec: Use CONFIG_IS_ENABLED in board_fdt_blob_setup()

This setting may be different in SPL and TPL. Update the code to check
the correct setting.

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