sm7250-common: Initial common device tree conversion
This commit is contained in:
@@ -18,7 +18,7 @@ BUILD_BROKEN_DUP_RULES := true
|
||||
|
||||
BOARD_VENDOR := oneplus
|
||||
|
||||
COMMON_PATH := device/oneplus/sm8250-common
|
||||
COMMON_PATH := device/oneplus/sm7250-common
|
||||
|
||||
# Architecture
|
||||
TARGET_ARCH := arm64
|
||||
@@ -38,7 +38,7 @@ TARGET_2ND_CPU_VARIANT_RUNTIME := kryo385
|
||||
TARGET_USES_64_BIT_BINDER := true
|
||||
|
||||
# Bootloader
|
||||
TARGET_BOOTLOADER_BOARD_NAME := kona
|
||||
TARGET_BOOTLOADER_BOARD_NAME := lito
|
||||
TARGET_NO_BOOTLOADER := true
|
||||
|
||||
# Kernel
|
||||
@@ -50,13 +50,13 @@ BOARD_KERNEL_PAGESIZE := 4096
|
||||
BOARD_KERNEL_SEPARATED_DTBO := true
|
||||
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
|
||||
TARGET_KERNEL_ADDITIONAL_FLAGS := DTC_EXT=$(shell pwd)/prebuilts/misc/linux-x86/dtc/dtc OEM_TARGET_PRODUCT=$(PRODUCT_DEVICE)
|
||||
TARGET_KERNEL_SOURCE := kernel/oneplus/sm8250
|
||||
TARGET_KERNEL_SOURCE := kernel/oneplus/sm7250
|
||||
TARGET_KERNEL_CLANG_COMPILE := true
|
||||
TARGET_KERNEL_CONFIG := vendor/kona-perf_defconfig
|
||||
TARGET_KERNEL_CONFIG := vendor/lito-perf_defconfig
|
||||
|
||||
# Platform
|
||||
BOARD_USES_QCOM_HARDWARE := true
|
||||
TARGET_BOARD_PLATFORM := kona
|
||||
TARGET_BOARD_PLATFORM := lito
|
||||
|
||||
# Properties
|
||||
TARGET_ODM_PROP += $(COMMON_PATH)/odm.prop
|
||||
@@ -205,4 +205,4 @@ WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
|
||||
WPA_SUPPLICANT_VERSION := VER_0_8_X
|
||||
|
||||
# Inherit from the proprietary version
|
||||
-include vendor/oneplus/sm8250-common/BoardConfigVendor.mk
|
||||
-include vendor/oneplus/sm7250-common/BoardConfigVendor.mk
|
||||
|
||||
Reference in New Issue
Block a user