android: support the new android format mode
In the new android images, the ramdisk.img is packed in the system.img. So transmit the "skip_initramfs" to cmdline to ignore the ramdisk.img (if have) loaded from boot.img. Change-Id: I1b2051d65078c903411f3ddcc0c7803cbd6892f4 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
This commit is contained in:
parent
3877199611
commit
2ab11bbe30
|
|
@ -384,7 +384,9 @@ int android_bootloader_boot_flow(struct blk_desc *dev_desc,
|
|||
* "skip_initramfs" to the cmdline to make it ignore the
|
||||
* recovery initramfs in the boot partition.
|
||||
*/
|
||||
#ifdef CONFIG_ANDROID_AB
|
||||
mode_cmdline = "skip_initramfs";
|
||||
#endif
|
||||
break;
|
||||
case ANDROID_BOOT_MODE_RECOVERY:
|
||||
/* In recovery mode we still boot the kernel from "boot" but
|
||||
|
|
|
|||
Loading…
Reference in New Issue