From 0f4fbe609ba15c152fd5d231598e7d568c412473 Mon Sep 17 00:00:00 2001 From: Martin Liu Date: Fri, 25 Mar 2022 14:00:51 +0800 Subject: [PATCH] set swiotlb as noforce There is no swiotlb usage so we can append noforce to remove 2MB reserved memory. Bug: 226578178 Test: check total memory and io_tlb_nslabs Signed-off-by: Martin Liu Change-Id: I746e8a1d18d78243bfe6a0b7549d5cf09cc4e227 --- cheetah/BoardConfig.mk | 1 + panther/BoardConfig.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/cheetah/BoardConfig.mk b/cheetah/BoardConfig.mk index 24427f9..59a7b9b 100644 --- a/cheetah/BoardConfig.mk +++ b/cheetah/BoardConfig.mk @@ -18,6 +18,7 @@ TARGET_BOOTLOADER_BOARD_NAME := cheetah TARGET_SCREEN_DENSITY := 560 BOARD_USES_GENERIC_AUDIO := true USES_DEVICE_GOOGLE_CLOUDRIPPER := true +BOARD_KERNEL_CMDLINE += swiotlb=noforce include device/google/gs201/BoardConfig-common.mk -include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk diff --git a/panther/BoardConfig.mk b/panther/BoardConfig.mk index ba67db1..07afce2 100644 --- a/panther/BoardConfig.mk +++ b/panther/BoardConfig.mk @@ -18,6 +18,7 @@ TARGET_BOOTLOADER_BOARD_NAME := panther TARGET_SCREEN_DENSITY := 420 BOARD_USES_GENERIC_AUDIO := true USES_DEVICE_GOOGLE_CLOUDRIPPER := true +BOARD_KERNEL_CMDLINE += swiotlb=noforce include device/google/gs201/BoardConfig-common.mk -include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk