]> git.sur5r.net Git - u-boot/commit
image: fix support for Android boot images with no ramdisk
authorRob Herring <robh@kernel.org>
Mon, 5 Oct 2015 19:37:07 +0000 (14:37 -0500)
committerTom Rini <trini@konsulko.com>
Sun, 11 Oct 2015 21:12:10 +0000 (17:12 -0400)
commit9950098e31004fdfb94c8c6ce3f4b27566a532bd
tree2f19cd559baf1b738330ff50b609010eb5e37c4b
parent027b728d4aafb5cf97abc804944a77b837b0f07f
image: fix support for Android boot images with no ramdisk

If an Android boot image does not contain a ramdisk, make sure rd_len
and rd_data are returned to indicate no ramdisk rather than just relying
on returning an error.

Signed-off-by: Rob Herring <robh@kernel.org>
common/image-android.c