From f1f388ee89d57292b66ffd28ef77cf103adffe84 Mon Sep 17 00:00:00 2001 From: Rahul Shahare Date: Thu, 20 Jun 2019 15:49:16 +0530 Subject: [PATCH] davinci: Set Header version for bootimage Set Header version to 1 for bootimage and Enable BOARD_INCLUDE_RECOVERY_DTBO. Change-Id: I165130b412020a6dee7fb3473766296f21a7cdb7 Signed-off-by: Rahul Shahare --- BoardConfig.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BoardConfig.mk b/BoardConfig.mk index 7803f4d..268b813 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -124,6 +124,9 @@ BOARD_KERNEL_CMDLINE += androidboot.usbcontroller=a600000.dwc3 BOARD_KERNEL_CMDLINE += service_locator.enable=1 BOARD_KERNEL_CMDLINE += loop.max_part=7 +BOARD_BOOTIMG_HEADER_VERSION := 1 +BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOTIMG_HEADER_VERSION) + # Media TARGET_USES_ION := true TARGET_DISABLED_UBWC := true @@ -164,6 +167,7 @@ TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop BOARD_USES_QCOM_HARDWARE := true # Recovery +BOARD_INCLUDE_RECOVERY_DTBO := true TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"