]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit8ed86b8abda21adf234871851c02af5efdd3868a
treebc89b40cc4e8962b5f701541f1b75b72b91208a7
parenta5352991149b7fa44ac2ebcacb0032a6eb67f396
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