forked from moto-msm89xx/android_device_motorola_cedric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBoardConfig.mk
55 lines (42 loc) · 1.22 KB
/
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
47
48
49
50
51
52
53
54
55
#
# Copyright (C) 2019 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Treble
PRODUCT_FULL_TREBLE_OVERRIDE := true
# Inherit from msm8937-common
-include device/motorola/msm8937-common/BoardConfigCommon.mk
DEVICE_PATH := device/motorola/cedric
# Assert
TARGET_OTA_ASSERT_DEVICE := cedric
# Display
TARGET_SCREEN_DENSITY := 420
# HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
# Kernel
TARGET_KERNEL_CONFIG := cedric_defconfig
# NFC
NXP_CHIP_TYPE := pn554
# Partitions
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16879616
BOARD_USERDATAIMAGE_PARTITION_SIZE := 26403126272
# Security patch level
VENDOR_SECURITY_PATCH := 2019-08-01
# SELinux
BOARD_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy
# Sensors
BOARD_USES_MOT_SENSOR_HUB := true
BOARD_USES_CAP_SENSOR_SX9310 := true
MOT_SENSOR_HUB_HW_TYPE_L0 := true
MOT_AP_SENSOR_HW_REARPROX := true
MOT_AP_SENSOR_HW_REARPROX_2 := true
MOT_SENSOR_HUB_HW_AK09912 := true
MOT_SENSOR_HUB_HW_BMI160 := true
MOT_SENSOR_HUB_FEATURE_CHOPCHOP := true
MOT_SENSOR_HUB_FEATURE_LIFT := true
MOT_SENSOR_HUB_FEATURE_PEDO := true
MOT_SENSOR_HUB_FEATURE_LA := true
MOT_SENSOR_HUB_FEATURE_GR := true
# Inherit from the proprietary version
-include vendor/motorola/cedric/BoardConfigVendor.mk