1#
2# Copyright (C) 2020 The Android Open-Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17# Enable load module in parallel
18BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
19
20# The modules which need to be loaded in sequential
21BOARD_KERNEL_CMDLINE += fips140.load_sequential=1
22BOARD_KERNEL_CMDLINE += exynos_mfc.load_sequential=1
23BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1
24BOARD_KERNEL_CMDLINE += pcie-exynos-core.load_sequential=1
25BOARD_KERNEL_CMDLINE += g2d.load_sequential=1
26
27ifdef AUTOMOTIVE_PRODUCT_PATH
28  #RBC# include_top device/google/auto_tcu
29  #RBC# include_top device/google/pixel_tcu
30  #RBC# include_top device/google_car
31  include device/$(AUTOMOTIVE_PRODUCT_PATH)/BoardConfig.mk
32else
33  TARGET_SCREEN_DENSITY := 560
34endif
35
36TARGET_BOARD_INFO_FILE := device/google/raviole/board-info.txt
37TARGET_BOOTLOADER_BOARD_NAME := raven
38USES_DEVICE_GOOGLE_RAVIOLE := true
39BOARD_KERNEL_CMDLINE += disable_dma32=on
40
41include device/google/gs101/BoardConfig-common.mk
42include device/google/gs101-sepolicy/raven-sepolicy.mk
43include device/google/gs101/wifi/BoardConfig-wifi.mk
44-include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk
45include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
46-include vendor/google_devices/raven/proprietary/BoardConfigVendor.mk
47
48ifneq (,$(RELEASE_ETM_IN_USERDEBUG_ENG))
49ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
50-include device/google/common/etm/BoardUserdebugModules.mk
51endif
52endif
53