From 305c24f51bc829d237eab7422952f2d098d11d93 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Mon, 16 Jan 2023 11:48:12 +0800 Subject: [PATCH] sdm660-common: BoardConfig: Sync boot image header with stock Pass proper boot image header version and at the same time ditch defaults. Change-Id: If0345731ab8edc9a7f4c2c506e3748833d6dd076 Signed-off-by: pix106 --- BoardConfigCommon.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 2cb6b9f4..bbf2744d 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -125,6 +125,8 @@ BOARD_KERNEL_CMDLINE += loop.max_part=7 BOARD_KERNEL_CMDLINE += printk.devkmsg=on BOARD_KERNEL_CMDLINE += usbcore.autosuspend=7 BOARD_KERNEL_CMDLINE += kpti=off +BOARD_BOOT_HEADER_VERSION := 1 +BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION) BOARD_KERNEL_BASE := 0x00000000 BOARD_KERNEL_PAGESIZE := 4096 BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb