From ce1ed3d78f846953af9ab0aefaffa5a4ed783728 Mon Sep 17 00:00:00 2001 From: Jawad AlDhalemi Date: Thu, 9 Mar 2023 16:06:58 -0800 Subject: [PATCH] Zuma: bootconfig: Enable GXP MCU mode via the driver's module params This change needs to land alongside http://ag/21923541 to enable MCU mode. The change will be reverted once the driver's default behavior changes to MCU mode in due time. Test: Boot and ensure gxp params are set in /sys/module/gxp/parameters/ Bug: 272600756 Change-Id: Ib3e6e8feba1d9ff7329e69195fb0f853ca5b227a Signed-off-by: Jawad AlDhalemi --- BoardConfig-common.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BoardConfig-common.mk b/BoardConfig-common.mk index f8da0246..ee451782 100644 --- a/BoardConfig-common.mk +++ b/BoardConfig-common.mk @@ -40,6 +40,8 @@ BOARD_KERNEL_CMDLINE += rcupdate.rcu_expedited=1 rcu_nocbs=all BOARD_KERNEL_CMDLINE += stack_depot_disable=off page_pinner=on BOARD_KERNEL_CMDLINE += swiotlb=1024 BOARD_BOOTCONFIG += androidboot.boot_devices=13200000.ufs +# TODO(b/272600756): Remove the params once the driver defaults to MCU mode. +BOARD_BOOTCONFIG += kernel.gxp.work_mode=mcu kernel.gxp.core_boot=0 TARGET_NO_BOOTLOADER := true TARGET_NO_RADIOIMAGE := true