Disable swiotlb for shiba and husky

Same as p22, we would like to disable swiotlb for shiba and husky.
Currently the swiotlb=noforce config is set in device tree, moving to userspace
would make the build process more flexible.

Bug: 263178695
Test: After adding noforce, /d/swiotlb/ is empty
Change-Id: I6505bfe8b465a0b2bcc6f39d1abaefe305bdc31f
Signed-off-by: Jack Lee <liangjlee@google.com>
This commit is contained in:
Jack Lee 2023-02-02 08:03:12 +00:00
parent e201f839ef
commit b32dfa3186
2 changed files with 2 additions and 0 deletions

View file

@ -26,6 +26,7 @@ TARGET_BOOTLOADER_BOARD_NAME := husky
TARGET_SCREEN_DENSITY := 450 TARGET_SCREEN_DENSITY := 450
BOARD_USES_GENERIC_AUDIO := true BOARD_USES_GENERIC_AUDIO := true
USES_DEVICE_GOOGLE_SHUSKY := true USES_DEVICE_GOOGLE_SHUSKY := true
BOARD_KERNEL_CMDLINE += swiotlb=noforce
include device/google/zuma/BoardConfig-common.mk include device/google/zuma/BoardConfig-common.mk
-include vendor/google_devices/zuma/prebuilts/BoardConfigVendor.mk -include vendor/google_devices/zuma/prebuilts/BoardConfigVendor.mk

View file

@ -26,6 +26,7 @@ TARGET_BOOTLOADER_BOARD_NAME := shiba
TARGET_SCREEN_DENSITY := 420 TARGET_SCREEN_DENSITY := 420
BOARD_USES_GENERIC_AUDIO := true BOARD_USES_GENERIC_AUDIO := true
USES_DEVICE_GOOGLE_SHUSKY := true USES_DEVICE_GOOGLE_SHUSKY := true
BOARD_KERNEL_CMDLINE += swiotlb=noforce
include device/google/zuma/BoardConfig-common.mk include device/google/zuma/BoardConfig-common.mk
-include vendor/google_devices/zuma/prebuilts/BoardConfigVendor.mk -include vendor/google_devices/zuma/prebuilts/BoardConfigVendor.mk