| Nikita Savchenko | ddabfff | 2025-08-08 12:05:29 +0000 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2025 The LineageOS 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 | # |
| 16 | |
| 17 | DEVICE_PATH := device/motorola/ctwo |
| 18 | |
| 19 | # Inherit from motorola sm8650-common |
| 20 | include device/motorola/sm8650-common/BoardConfigCommon.mk |
| 21 | |
| 22 | # Bootloader |
| 23 | TARGET_BOOTLOADER_BOARD_NAME := ctwo |
| 24 | |
| 25 | # Recovery |
| 26 | TARGET_RECOVERY_UI_MARGIN_HEIGHT := 90 |
| 27 | |
| 28 | # Security |
| 29 | BOOT_SECURITY_PATCH := 2025-10-01 |
| 30 | VENDOR_SECURITY_PATCH := $(BOOT_SECURITY_PATCH) |
| 31 | |
| 32 | # Verified Boot |
| 33 | BOARD_AVB_ROLLBACK_INDEX := 19 |
| 34 | BOARD_AVB_VBMETA_SYSTEM_ROLLBACK_INDEX := 19 |
| 35 | |
| 36 | # inherit from the proprietary version |
| 37 | include vendor/motorola/ctwo/BoardConfigVendor.mk |