diff options
Diffstat (limited to 'db845c/BoardConfig.mk')
-rw-r--r-- | db845c/BoardConfig.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/db845c/BoardConfig.mk b/db845c/BoardConfig.mk index 9d31f97..67120aa 100644 --- a/db845c/BoardConfig.mk +++ b/db845c/BoardConfig.mk @@ -6,10 +6,16 @@ TARGET_BOARD_PLATFORM := db845c TARGET_NO_KERNEL := false BOARD_INCLUDE_DTB_IN_BOOTIMG := true -BOARD_BOOT_HEADER_VERSION := 2 +ifeq ($(TARGET_USES_BOOT_HDR_V3), true) + BOARD_BOOT_HEADER_VERSION := 3 + BOARD_KERNEL_PAGESIZE := 4096 + BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 67108864 #64M +else + BOARD_BOOT_HEADER_VERSION := 2 + BOARD_KERNEL_PAGESIZE := 2048 +endif BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOT_HEADER_VERSION) BOARD_KERNEL_BASE := 0x80000000 -BOARD_KERNEL_PAGESIZE := 2048 BOARD_KERNEL_CMDLINE := earlycon firmware_class.path=/vendor/firmware/ androidboot.hardware=db845c BOARD_KERNEL_CMDLINE += init=/init androidboot.boot_devices=soc@0/1d84000.ufshc printk.devkmsg=on BOARD_KERNEL_CMDLINE += deferred_probe_timeout=30 |