MA-10417[Android] load whole boot image once and copy dtb and ramdisk to required...
authorZhang Bo <bo.zhang@nxp.com>
Tue, 10 Oct 2017 12:34:36 +0000 (20:34 +0800)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:24 +0000 (02:37 +0800)
commit3960ef77608a7fe07f2305eb34eebe2f8433577c
tree341276eaa54292b17506dca24a406b331a64e24c
parentb395b3d092c0dfb6aff672f8372e8fd0c7d250f0
MA-10417[Android] load whole boot image once and copy dtb and ramdisk to required address

Load the whole boot image to (hdr->kernel_addr - hdr->page_size) for both arm and arm64,
then copy dtb and ramdisk to hdr->second_addr and hdr->ramdisk_addr.

Change-Id: Ib5388ee09866451ed6cb280946842d7b66a4d1e3
Signed-off-by: Zhang Bo <bo.zhang@nxp.com>
drivers/usb/gadget/f_fastboot.c