MA-17260 Add vendor boot and boot header v3 support
authorJi Luo <ji.luo@nxp.com>
Thu, 28 May 2020 03:06:37 +0000 (11:06 +0800)
committerJi Luo <ji.luo@nxp.com>
Thu, 13 May 2021 01:49:18 +0000 (09:49 +0800)
commit7660fb22e22a1ad6a408038a2f20f34392e5e708
tree9f34623d665ee1820c105d13d6f5b0963d659cba
parentee720d8d69d4d3e97d2daea9b91f8d076ffb05b0
MA-17260 Add vendor boot and boot header v3 support

GKI(Generic Kernel Image) would require the boot header v3 and vendor
boot support, all device specific info are moved to vendor_boot partition
,the boot header v3 will not be compatible with earlier version(0/1/2).

This commit adds support for boot header v3 and vendor boot, it would
concatenate the generic ramdisk and vendor ramdisk to generate the
final ramdisk passed to kernel.

Test: boots with or without boot header v3 and vendor boot support.

Signed-off-by: Ji Luo <ji.luo@nxp.com>
Change-Id: Ib3298ae46bfc728aa4a34909d372eff6cc86ca70
(cherry picked from commit c3854f270a19e7d57b996e6074d692ab9bc88c32)
common/image-android.c
drivers/fastboot/fb_fsl/fb_fsl_boot.c
include/android_image.h
include/image.h
lib/Kconfig