]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootm: Drop #ifdef in bootm_find_images()
authorSimon Glass <sjg@chromium.org>
Sat, 18 Nov 2023 21:05:08 +0000 (14:05 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 16:51:24 +0000 (11:51 -0500)
commit972d524893e4635ff1ac4286a870cda2dd3fc301
tree96f62f4236b09101c44cfd2a8b62fa4cec24ba3f
parent813f75d8580c96fe83f3b7a450a981e982429356
bootm: Drop #ifdef in bootm_find_images()

The OF_LIBFDT #ifdef makes it harder to use a local variable for that
code block. Convert it to if() instead.

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