aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mentz <danielmentz@google.com>2018-10-16 11:17:47 -0700
committerMichael Bestas <mkbestas@lineageos.org>2020-12-27 14:57:37 +0200
commit5788bae6b80b36ad9772da5bd239a582353a2e9d (patch)
treeb760d5e6497e349e6d13d7ff87c21135247c316b
parent2c3319f40a0339bbeea57a289fb69e2339927df1 (diff)
sdm660-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
-rw-r--r--BoardConfigCommon.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 2061f30..745d9a0 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -57,8 +57,6 @@ BOARD_KERNEL_CMDLINE += loop.max_part=7
BOARD_KERNEL_CMDLINE += usbcore.autosuspend=7
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_PAGESIZE := 4096
-BOARD_KERNEL_TAGS_OFFSET := 0x01E00000
-BOARD_RAMDISK_OFFSET := 0x02000000
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
TARGET_KERNEL_ARCH := arm64
TARGET_KERNEL_HEADER_ARCH := arm64