blob: b961a92e3b4b2ac6b7c8502128017f31eb599e99 [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_Hsieh4ecf6b42024-04-11 14:39:56 +080029else ifneq (,$(filter AP2%,$(RELEASE_PLATFORM_VERSION)))
Cyan_Hsieh2a16b702023-12-13 14:00:23 +080030RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q2
Cyan_Hsieh4ecf6b42024-04-11 14:39:56 +080031else ifneq (,$(filter AP3%,$(RELEASE_PLATFORM_VERSION)))
32RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q3
Cyan_Hsieh9926df82023-10-25 18:16:54 +080033else
34RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/trunk
35endif
ClintChen12bb2012023-10-04 09:18:26 +000036
Tomasz Wasilczyk2a6a0232022-06-13 21:39:55 +000037ifdef AUTOMOTIVE_PRODUCT_PATH
38 #RBC# include_top device/google/auto_tcu
39 #RBC# include_top device/google/pixel_tcu
40 #RBC# include_top device/google_car
41 include device/$(AUTOMOTIVE_PRODUCT_PATH)/BoardConfig.mk
Gaurav Sarode59a71ba2021-11-04 15:33:54 -070042else
Gaurav Sarode59a71ba2021-11-04 15:33:54 -070043 TARGET_SCREEN_DENSITY := 420
Gaurav Sarode59a71ba2021-11-04 15:33:54 -070044endif
Gaurav Sarode55f68cb2022-07-12 17:02:51 -070045
46TARGET_BOARD_INFO_FILE := device/google/raviole/board-info.txt
47TARGET_BOOTLOADER_BOARD_NAME := oriole
48USES_DEVICE_GOOGLE_RAVIOLE := true
49BOARD_KERNEL_CMDLINE += disable_dma32=on
50
51include device/google/gs101/BoardConfig-common.mk
Ted Wang26bbdd12023-06-08 13:45:23 +000052include device/google/gs101-sepolicy/oriole-sepolicy.mk
Gaurav Sarode55f68cb2022-07-12 17:02:51 -070053include device/google/gs101/wifi/BoardConfig-wifi.mk
54-include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk
55-include vendor/google_devices/oriole/proprietary/BoardConfigVendor.mk