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>
34 lines
1.3 KiB
Makefile
34 lines
1.3 KiB
Makefile
#
|
|
# Copyright (C) 2020 The Android Open-Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
# Enable load module in parallel
|
|
BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
|
|
|
|
# The modules which need to be loaded in sequential
|
|
BOARD_KERNEL_CMDLINE += vh_sched.load_sequential=1
|
|
BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1
|
|
|
|
TARGET_BOARD_INFO_FILE := device/google/shusky/board-info.txt
|
|
TARGET_BOOTLOADER_BOARD_NAME := husky
|
|
TARGET_SCREEN_DENSITY := 450
|
|
BOARD_USES_GENERIC_AUDIO := true
|
|
USES_DEVICE_GOOGLE_SHUSKY := true
|
|
BOARD_KERNEL_CMDLINE += swiotlb=noforce
|
|
|
|
include device/google/zuma/BoardConfig-common.mk
|
|
-include vendor/google_devices/zuma/prebuilts/BoardConfigVendor.mk
|
|
include device/google/shusky-sepolicy/husky-sepolicy.mk
|
|
include device/google/shusky/wifi/BoardConfig-wifi.mk
|