summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorShawn Guo <[email protected]>2019-02-22 16:28:06 +0800
committerTom Rini <[email protected]>2019-04-22 18:13:22 -0400
commit5e218862b78068e32955e5b17b8dbbc941d71054 (patch)
tree7c69953def15f3bf16cfdffb582a7c1932ba7abc /include/linux
parent3695ea5deb75b86e32a394a4f75c1f633eb07719 (diff)
Support boot Android image without address on bootm command
It works perfectly fine to boot an Android boot.img with bootm command followed by an explicit address argument that holds the image. But if we have boot.img downloaded into default 'loadaddr', and then boot it using bootm command without the address argument, we will run into problem, because U-Boot fails to find ramdisk and fdt (second area) in boot.img. The current Android image support assumes there is always an address argument on bootm command. However just like booting any other images, 'loadaddr' should be used when address argument is missing from bootm command. It patches boot_get_ramdisk() and boot_get_fdt() a bit to support this quite common usage of bootm command for Android image. Signed-off-by: Shawn Guo <[email protected]> Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions