summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2022-08-08 18:28:48 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-08-08 18:28:48 +0000
commit30259f3230df90b01a150d22dc960ebb35e69bf2 (patch)
treedcc2657fb7193a49e4ebfe272d882dac80dbc0af
parent4a07d423aadfcb83525fd56c395d4a26bd4f3c54 (diff)
parentf7377862c8deb09d0b09c68768b9c5f3266da043 (diff)
downloadhikey-30259f3230df90b01a150d22dc960ebb35e69bf2.tar.gz
Merge "Remove stale SYSTEM_ROOT_IMAGE board config for old kernels" am: 59d1eb18e3 am: d71676c3f3 am: 556f03f584 am: f7377862c8
Original change: https://android-review.googlesource.com/c/device/linaro/hikey/+/2176482 Change-Id: I92172abce40a3fa6e2fe57e30eafdf824e1ac292 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--hikey/BoardConfig.mk14
1 files changed, 0 insertions, 14 deletions
diff --git a/hikey/BoardConfig.mk b/hikey/BoardConfig.mk
index b30c3287..7c31ac76 100644
--- a/hikey/BoardConfig.mk
+++ b/hikey/BoardConfig.mk
@@ -10,20 +10,6 @@ BOARD_KERNEL_CMDLINE := androidboot.hardware=hikey firmware_class.path=/vendor/f
BOARD_KERNEL_CMDLINE += androidboot.boot_devices=soc/f723d000.dwmmc0
BOARD_KERNEL_CMDLINE += console=ttyAMA3,115200 androidboot.console=ttyAMA3
-# On kernels before 4.14, enable dtb fstab with android-verity. On kernels >=
-# 4.14, both dtb fstab and android-verity are deprecated, so until we have
-# avb2 support in the bootloader, don't enable either feature. The ramdisk
-# fstab needed for the new mechanism will be installed unconditionally; if
-# dtb fstab is present, it will override it automatically.
-ifneq ($(TARGET_KERNEL_USE),4.19)
-ifneq ($(TARGET_KERNEL_USE),4.14)
-BOARD_KERNEL_CMDLINE += overlay_mgr.overlay_dt_entry=hardware_cfg_enable_android_fstab_v2
-BOARD_KERNEL_CMDLINE += rootwait ro root=/dev/dm-0
-BOARD_KERNEL_CMDLINE += dm=\"system none ro,0 1 android-verity 179:9\"
-BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
-endif
-endif
-
ifneq ($(TARGET_SENSOR_MEZZANINE),)
BOARD_KERNEL_CMDLINE += overlay_mgr.overlay_dt_entry=hardware_cfg_$(TARGET_SENSOR_MEZZANINE)
endif