MA-17519-4 boot up car2 with recovery ramdisk
authorfaqiang.zhu <faqiang.zhu@nxp.com>
Wed, 21 Oct 2020 08:14:38 +0000 (16:14 +0800)
committerJi Luo <ji.luo@nxp.com>
Thu, 13 May 2021 01:49:18 +0000 (09:49 +0800)
commitc3dd6b105d62a68a0222ee9f892e7502ee6fe6ad
tree2b440c79cc0fec465c20057338d17a4dad25fb64
parent900872464c2d8cb1862ac1d2a413d631bce64213
MA-17519-4 boot up car2 with recovery ramdisk

To use dynamic partition feature in Android, recovery ramdisk is used to
mount the logical partitions and boot up Android.

Define a configuration item "CONFIG_ANDROID_DYNAMIC_PARTITION", use it
to control the bootargs and whether ramdisk should be loaded instead of
"CONFIG_ANDROID_AUTO" because now Android auto also use dynamic
partition feature now.

Move the definition of function "fastboot_setup_system_boot_args" under
the macro "CONFIG_CMD_BOOTA" to avoid build warnings.

Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
Change-Id: I0b1cfe6120fc939e7f1a1eb600d8176c81edf129
(cherry picked from commit 972ccff86796e2b7f9a444d09550cd5e393cd93e)
(cherry picked from commit 7154723e8a43f06f27bab3692024f3579f4b78e4)
drivers/fastboot/fb_fsl/fb_fsl_boot.c
lib/Kconfig
lib/libavb/avb_cmdline.c