From 8a5afd0877e74121fba31fee59f0552340d92e1f Mon Sep 17 00:00:00 2001 From: Luka Panio Date: Wed, 10 Apr 2024 14:22:55 +0200 Subject: [PATCH] sm8550-common: Add bootconfig to cmdline While bootconfig allows to provide userspace config without taking space in cmdline, it only works with boot header v4, and recovery cant be newer then v2, so add bootconfig to cmdline, for recovery. Change-Id: I2123b361b3c8e9097a94d80d762623aa8c3c236a --- BoardConfigCommon.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index afa4de8..a18a241 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -75,6 +75,9 @@ BOARD_BOOTCONFIG := \ androidboot.usbcontroller=a600000.dwc3 BOARD_KERNEL_CMDLINE := \ + androidboot.hardware=qcom \ + androidboot.memcg=1 \ + androidboot.usbcontroller=a600000.dwc3 \ printk.devkmsg=on \ firmware_class.path=/vendor/firmware_mnt/image \ video=vfb:640x400,bpp=32,memsize=3072000