]> git.dujemihanovic.xyz Git - u-boot.git/commit
image: Fix up ANDROID_BOOT_IMAGE ramdisk code
authorSimon Glass <sjg@chromium.org>
Sun, 28 Aug 2022 18:32:46 +0000 (12:32 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 14 Sep 2022 13:03:06 +0000 (09:03 -0400)
commit1ce8e10f3b4bd23dfdd7dad076b56ba36fa6416d
tree2e714c2b2c9a81295aa9763b21655a3403f1ae03
parenta822b9234b2f961f0bbdf2a0b20863d48c6de6e3
image: Fix up ANDROID_BOOT_IMAGE ramdisk code

Convert this to an if(), fix the cast from an address to a pointer and
make sure that any error is returned correctly.

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