image: Split up boot_get_fdt()
authorSimon Glass <sjg@chromium.org>
Sun, 26 Sep 2021 01:43:41 +0000 (19:43 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 8 Oct 2021 19:53:27 +0000 (15:53 -0400)
commit4cb35b7a1fdf060a0839b71f6dbf8d08b1ae62e0
tree667372191c3a70cd9343180c8d7f6273afbb9ab9
parenta2198cd0185904929d90a1a814d7e0b47877e46b
image: Split up boot_get_fdt()

This function is far too long. Before trying to remove #ifdefs, split out
the code that deals with selecting the FDT into a separate function.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/image-fdt.c