]> git.baikalelectronics.ru Git - uboot.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)
commit2f373eae6414cf65738d26f354e47e9b1c0ab4c6
tree2e714c2b2c9a81295aa9763b21655a3403f1ae03
parent0d2506a2c18b99596c66990127ae534da3326eed
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