diff --git a/config/BoardConfigTWRP.mk b/config/BoardConfigTWRP.mk index d1b1d3f..a163cd7 100644 --- a/config/BoardConfigTWRP.mk +++ b/config/BoardConfigTWRP.mk @@ -2,7 +2,10 @@ include vendor/twrp/config/BoardConfigKernel.mk include vendor/twrp/config/BoardConfigSoong.mk ifeq ($(BOARD_USES_RECOVERY_AS_BOOT),true) -GENERIC_KERNEL_CMDLINE += twrpfastboot=1 + ifeq ($(BOARD_BOOT_HEADER_VERSION),3) + GENERIC_KERNEL_CMDLINE += twrpfastboot=1 + else + INTERNAL_KERNEL_CMDLINE += twrpfastboot=1 + endif endif -