diff options
author | Daniel Mentz <danielmentz@google.com> | 2018-10-16 11:17:47 -0700 |
---|---|---|
committer | Nanhumly <admin@warbler.cc> | 2023-08-03 11:34:32 +0000 |
commit | 209239ad8d359ee78e7a34f7516d3b52dc41f444 (patch) | |
tree | b6369e197c19718bfed314815b0b509f5d26e872 /BoardConfigCommon.mk | |
parent | 64a4bd5e1098a938507dbfcc700e48c60ed9f624 (diff) |
msm8996-common: Remove ineffective BOARD_KERNEL_TAGS_OFFSET variable
Remove various variables related to where kernel and ramdisk are loaded
by the bootloader. There are two reasons for this:
1. The B1C1 bootloader ignores all the offset values for kernel, ramdisk
and tags. The default B1C1 memory layout has been designed to accomodate
a larger KASAN kernel.
2. The variables BOARD_KERNEL_TAGS_OFFSET and BOARD_RAMDISK_OFFSET are
ignored by the Android build system (unless they are copied into the
BOARD_MKBOOTIMG_ARGS variable). This is in contrast to the variables
BOARD_KERNEL_BASE, BOARD_KERNEL_PAGESIZE and BOARD_MKBOOTIMG_ARGS which
are referenced by build/make/core/Makefile
Bug: 117832711
Change-Id: I3404a4e084ed063d51077a3a80229854362c768b
Diffstat (limited to 'BoardConfigCommon.mk')
-rw-r--r-- | BoardConfigCommon.mk | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index e515924..d38cede 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -44,8 +44,6 @@ BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom ehci-hcd.park=3 lpm_levels.sle BOARD_KERNEL_CMDLINE += firmware_class.path=/vendor/firmware_mnt/image BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb BOARD_KERNEL_PAGESIZE := 4096 -BOARD_KERNEL_TAGS_OFFSET := 0x00000100 -BOARD_RAMDISK_OFFSET := 0x01000000 TARGET_KERNEL_ARCH := arm64 TARGET_KERNEL_SOURCE := kernel/zuk/msm8996 |