sm8350-common: Sort kernel cmdline and additional flags as a list

* This allows better readability and eases tracking further changes.

Change-Id: I3a23f7ccb238b5f0e18dfa18080f1ae8ff51109f
This commit is contained in:
Alexander Koskovich 2022-04-11 21:13:13 -07:00
parent d2345031e0
commit 1341072665

View file

@ -43,12 +43,26 @@ TARGET_NO_BOOTLOADER := true
# Kernel
BOARD_BOOT_HEADER_VERSION := 3
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom androidboot.console=ttyMSM0 androidboot.memcg=1 lpm_levels.sleep_disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 androidboot.usbcontroller=a600000.dwc3 swiotlb=2048 loop.max_part=7 cgroup.memory=nokmem,nosocket reboot=panic_warm
BOARD_KERNEL_CMDLINE := \
androidboot.console=ttyMSM0 \
androidboot.hardware=qcom \
androidboot.memcg=1 \
androidboot.usbcontroller=a600000.dwc3 \
cgroup.memory=nokmem,nosocket \
loop.max_part=7 \
lpm_levels.sleep_disabled=1 \
msm_rtb.filter=0x237 \
reboot=panic_warm \
service_locator.enable=1 \
swiotlb=2048 \
video=vfb:640x400,bpp=32,memsize=3072000
BOARD_KERNEL_IMAGE_NAME := Image
BOARD_KERNEL_PAGESIZE := 4096
BOARD_KERNEL_SEPARATED_DTBO := true
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
TARGET_KERNEL_ADDITIONAL_FLAGS := DTC_EXT=$(shell pwd)/prebuilts/misc/linux-x86/dtc/dtc LLVM=1
TARGET_KERNEL_ADDITIONAL_FLAGS := \
DTC_EXT=$(shell pwd)/prebuilts/misc/linux-x86/dtc/dtc \
LLVM=1
TARGET_KERNEL_SOURCE := kernel/oneplus/sm8350
TARGET_KERNEL_CONFIG := vendor/lahaina-qgki_defconfig