]> git.baikalelectronics.ru Git - uboot.git/commit
image: Reduce variable scope in boot_get_ramdisk()
authorSimon Glass <sjg@chromium.org>
Sun, 26 Sep 2021 01:43:36 +0000 (19:43 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 8 Oct 2021 19:53:27 +0000 (15:53 -0400)
commita10e6575257a86f929be36863263d67339cbc5b7
tree15a6758e71549d6abd99191883ad137f3bbf7c20
parent51506802c854c7940415f3f7fbd435cd705a6da0
image: Reduce variable scope in boot_get_ramdisk()

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-board.c