-
Notifications
You must be signed in to change notification settings - Fork 0
/
BoardConfig.mk
46 lines (33 loc) · 958 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
43
44
45
46
#
# Copyright (C) 2018-2019 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from sdm845-common
-include device/xiaomi/sdm845-common/BoardConfigCommon.mk
DEVICE_PATH := device/xiaomi/beryllium
# Assert
TARGET_OTA_ASSERT_DEVICE := beryllium
# Audio
AUDIO_FEATURE_ENABLED_FM_POWER_OPT := true
# Camera
TARGET_FACE_UNLOCK_CAMERA_ID := 5
# Crypto
TARGET_HW_DISK_ENCRYPTION := true
# FM
BOARD_HAS_QCA_FM_SOC := "cherokee"
BOARD_HAVE_QCOM_FM := true
# Kernel
TARGET_KERNEL_CONFIG := beryllium_defconfig
TARGET_KERNEL_SOURCE := kernel/xiaomi/sdm845
TARGET_KERNEL_CLANG_VERSION := 9.0.5
# HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
# Partitions
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864
# Power
TARGET_TAP_TO_WAKE_NODE := "/dev/input/event2"
# Recovery
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom
# Inherit from the proprietary version
-include vendor/xiaomi/beryllium/BoardConfigVendor.mk