image: Reduce variable scope in boot_get_fdt()
authorSimon Glass <sjg@chromium.org>
Sun, 26 Sep 2021 01:43:40 +0000 (19:43 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 8 Oct 2021 19:53:27 +0000 (15:53 -0400)
commita2198cd0185904929d90a1a814d7e0b47877e46b
treebc89b40cc4e8962b5f701541f1b75b72b91208a7
parentb53541f7f61d506c6b19b30357f471472831e9cb
image: Reduce variable scope in boot_get_fdt()

Move the variables declarations to where they are needed, to reduce the
number of #ifdefs needed.

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