mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-10-06 19:56:26 -07:00
379954f35c
Signed-off-by: Woomymy <woomy@woomy.be> Change-Id: Ic22269332239db8f3bd770f678f92e9e8da20e7a Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
54 lines
1.5 KiB
Makefile
54 lines
1.5 KiB
Makefile
#
|
|
# Copyright (C) 2023 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
DEVICE_PATH := device/infinix/X6833B
|
|
|
|
# Architecture
|
|
TARGET_ARCH := arm64
|
|
TARGET_ARCH_VARIANT := armv8-2a-dotprod
|
|
TARGET_CPU_ABI := arm64-v8a
|
|
TARGET_CPU_ABI2 :=
|
|
TARGET_CPU_VARIANT := generic
|
|
TARGET_CPU_VARIANT_RUNTIME := cortex-a55
|
|
|
|
TARGET_2ND_ARCH := arm
|
|
TARGET_2ND_ARCH_VARIANT := armv8-2a
|
|
TARGET_2ND_CPU_ABI := armeabi-v7a
|
|
TARGET_2ND_CPU_ABI2 := armeabi
|
|
TARGET_2ND_CPU_VARIANT := generic
|
|
TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a55
|
|
|
|
# Boot image
|
|
BOARD_BOOT_HEADER_VERSION := 4
|
|
BOARD_USES_GENERIC_KERNEL_IMAGE := true
|
|
BOARD_RAMDISK_USE_LZ4 := true
|
|
BOARD_KERNEL_SEPARATED_DTBO := true
|
|
BOARD_KERNEL_CMDLINE += bootopt=64S3,32N2,64N2
|
|
|
|
BOARD_KERNEL_PAGESIZE := 4096
|
|
BOARD_KERNEL_BASE := 0x3fff8000
|
|
BOARD_KERNEL_OFFSET := 0x00008000
|
|
BOARD_RAMDISK_OFFSET := 0x26f08000
|
|
BOARD_KERNEL_TAGS_OFFSET := 0x07c88000
|
|
BOARD_DTB_OFFSET := 0x07c88000
|
|
|
|
BOARD_MKBOOTIMG_ARGS += --kernel_offset $(BOARD_KERNEL_OFFSET)
|
|
BOARD_MKBOOTIMG_ARGS += --ramdisk_offset $(BOARD_RAMDISK_OFFSET)
|
|
BOARD_MKBOOTIMG_ARGS += --tags_offset $(BOARD_KERNEL_TAGS_OFFSET)
|
|
BOARD_MKBOOTIMG_ARGS += --dtb_offset $(BOARD_DTB_OFFSET)
|
|
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION)
|
|
|
|
# Bootloader
|
|
TARGET_BOOTLOADER_BOARD_NAME := x6833b
|
|
TARGET_NO_BOOTLOADER := true
|
|
|
|
# Platform
|
|
TARGET_BOARD_PLATFORM := mt6789
|
|
BOARD_HAS_MTK_HARDWARE := true
|
|
|
|
# Inherit the proprietary files
|
|
include vendor/infinix/X6833B/BoardConfigVendor.mk
|