Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 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 | # |
chungkai | f5ed634 | 2022-07-12 09:54:43 +0000 | [diff] [blame] | 16 | |
| 17 | # Enable load module in parallel |
| 18 | BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true |
| 19 | |
| 20 | # The modules which need to be loaded in sequential |
chungkai | f5ed634 | 2022-07-12 09:54:43 +0000 | [diff] [blame] | 21 | BOARD_KERNEL_CMDLINE += exynos_mfc.load_sequential=1 |
| 22 | BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1 |
| 23 | BOARD_KERNEL_CMDLINE += pcie-exynos-core.load_sequential=1 |
| 24 | BOARD_KERNEL_CMDLINE += g2d.load_sequential=1 |
| 25 | |
ClintChen | 12bb201 | 2023-10-04 09:18:26 +0000 | [diff] [blame] | 26 | RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_ORIOLE_RADIO_DIR) |
Cyan_Hsieh | 9926df8 | 2023-10-25 18:16:54 +0800 | [diff] [blame] | 27 | ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION))) |
| 28 | RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q1 |
Cyan_Hsieh | 4ecf6b4 | 2024-04-11 14:39:56 +0800 | [diff] [blame^] | 29 | else ifneq (,$(filter AP2%,$(RELEASE_PLATFORM_VERSION))) |
Cyan_Hsieh | 2a16b70 | 2023-12-13 14:00:23 +0800 | [diff] [blame] | 30 | RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q2 |
Cyan_Hsieh | 4ecf6b4 | 2024-04-11 14:39:56 +0800 | [diff] [blame^] | 31 | else ifneq (,$(filter AP3%,$(RELEASE_PLATFORM_VERSION))) |
| 32 | RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q3 |
Cyan_Hsieh | 9926df8 | 2023-10-25 18:16:54 +0800 | [diff] [blame] | 33 | else |
| 34 | RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/trunk |
| 35 | endif |
ClintChen | 12bb201 | 2023-10-04 09:18:26 +0000 | [diff] [blame] | 36 | |
Tomasz Wasilczyk | 2a6a023 | 2022-06-13 21:39:55 +0000 | [diff] [blame] | 37 | ifdef 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 Sarode | 59a71ba | 2021-11-04 15:33:54 -0700 | [diff] [blame] | 42 | else |
Gaurav Sarode | 59a71ba | 2021-11-04 15:33:54 -0700 | [diff] [blame] | 43 | TARGET_SCREEN_DENSITY := 420 |
Gaurav Sarode | 59a71ba | 2021-11-04 15:33:54 -0700 | [diff] [blame] | 44 | endif |
Gaurav Sarode | 55f68cb | 2022-07-12 17:02:51 -0700 | [diff] [blame] | 45 | |
| 46 | TARGET_BOARD_INFO_FILE := device/google/raviole/board-info.txt |
| 47 | TARGET_BOOTLOADER_BOARD_NAME := oriole |
| 48 | USES_DEVICE_GOOGLE_RAVIOLE := true |
| 49 | BOARD_KERNEL_CMDLINE += disable_dma32=on |
| 50 | |
| 51 | include device/google/gs101/BoardConfig-common.mk |
Ted Wang | 26bbdd1 | 2023-06-08 13:45:23 +0000 | [diff] [blame] | 52 | include device/google/gs101-sepolicy/oriole-sepolicy.mk |
Gaurav Sarode | 55f68cb | 2022-07-12 17:02:51 -0700 | [diff] [blame] | 53 | include 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 |