blob: a138bc2fd355bc097ba9f01a15186783c44643bc [file] [log] [blame]
Robin Pengcd374d82021-02-23 20:00:46 +08001#
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#
chungkaif5ed6342022-07-12 09:54:43 +000016
17# Enable load module in parallel
18BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
19
20# The modules which need to be loaded in sequential
chungkaif5ed6342022-07-12 09:54:43 +000021BOARD_KERNEL_CMDLINE += exynos_mfc.load_sequential=1
22BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1
23BOARD_KERNEL_CMDLINE += pcie-exynos-core.load_sequential=1
24BOARD_KERNEL_CMDLINE += g2d.load_sequential=1
25
ClintChen12bb2012023-10-04 09:18:26 +000026RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_ORIOLE_RADIO_DIR)
Cyan_Hsieh9926df82023-10-25 18:16:54 +080027ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
28RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q1
Cyan_Hsieh933d3312024-02-27 15:45:19 +080029else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
Cyan_Hsieh2a16b702023-12-13 14:00:23 +080030RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q2
Cyan_Hsieh9926df82023-10-25 18:16:54 +080031else
32RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/trunk
33endif
ClintChen12bb2012023-10-04 09:18:26 +000034
Tomasz Wasilczyk2a6a0232022-06-13 21:39:55 +000035ifdef AUTOMOTIVE_PRODUCT_PATH
36 #RBC# include_top device/google/auto_tcu
37 #RBC# include_top device/google/pixel_tcu
38 #RBC# include_top device/google_car
39 include device/$(AUTOMOTIVE_PRODUCT_PATH)/BoardConfig.mk
Gaurav Sarode59a71ba2021-11-04 15:33:54 -070040else
Gaurav Sarode59a71ba2021-11-04 15:33:54 -070041 TARGET_SCREEN_DENSITY := 420
Gaurav Sarode59a71ba2021-11-04 15:33:54 -070042endif
Gaurav Sarode55f68cb2022-07-12 17:02:51 -070043
44TARGET_BOARD_INFO_FILE := device/google/raviole/board-info.txt
45TARGET_BOOTLOADER_BOARD_NAME := oriole
46USES_DEVICE_GOOGLE_RAVIOLE := true
47BOARD_KERNEL_CMDLINE += disable_dma32=on
48
49include device/google/gs101/BoardConfig-common.mk
Ted Wang26bbdd12023-06-08 13:45:23 +000050include device/google/gs101-sepolicy/oriole-sepolicy.mk
Gaurav Sarode55f68cb2022-07-12 17:02:51 -070051include device/google/gs101/wifi/BoardConfig-wifi.mk
52-include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk
53-include vendor/google_devices/oriole/proprietary/BoardConfigVendor.mk