-
Notifications
You must be signed in to change notification settings - Fork 1
/
BoardConfig.mk
42 lines (31 loc) · 1023 Bytes
/
BoardConfig.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#
# Copyright (C) 2022-2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from sm6225-common
include device/motorola/sm6225-common/BoardConfigCommon.mk
DEVICE_PATH := device/motorola/borneo
# Bootloader
TARGET_BOOTLOADER_BOARD_NAME := borneo
# Display
TARGET_SCREEN_DENSITY := 280
# HIDL
ODM_MANIFEST_SKUS += b f
ODM_MANIFEST_B_FILES := $(DEVICE_PATH)/sku/manifest_b.xml
ODM_MANIFEST_F_FILES := $(DEVICE_PATH)/sku/manifest_f.xml
# Kernel
TARGET_KERNEL_CONFIG += vendor/ext_config/borneo-default.config
# Partitions
BOARD_SUPER_PARTITION_SIZE := 10804527104
BOARD_MOTO_DYNAMIC_PARTITIONS_SIZE := 10800332800 # BOARD_SUPER_PARTITION_SIZE - 4MB
# Recovery
TARGET_RECOVERY_DENSITY := hdpi
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 70
# Security patch level
VENDOR_SECURITY_PATCH := 2023-02-01
# Verified Boot
BOARD_AVB_ROLLBACK_INDEX := 20
# Inherit from the proprietary version
include vendor/motorola/borneo/BoardConfigVendor.mk