image: Fix Android boot image support
authorAhmad Draidi <ar2000jp@gmail.com>
Thu, 23 Oct 2014 17:50:07 +0000 (20:50 +0300)
committerTom Rini <trini@ti.com>
Mon, 27 Oct 2014 21:54:12 +0000 (17:54 -0400)
commit86f4695bd0dd82913936540593bfa8e74fdb98f3
tree2cceda3c79eaae173679b019195f3cf3eb9fdbf2
parent11ab5be89df51889c407462b5289eddc2abe9c27
image: Fix Android boot image support

This patch makes the following changes:
- Set kernel entry point correctly
- Append bootargs from image to global bootargs instead
        of replacing them
- Return end address instead of size from android_image_get_end()
- Give correct parameter to genimg_get_format() in boot_get_ramdisk()
- Move ramdisk message printing from android_image_get_kernel() to
android_image_get_ramdisk()

Signed-off-by: Ahmad Draidi <ar2000jp@gmail.com>
Cc: Tom Rini <trini@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/bootm.c
common/image-android.c
common/image.c