whyred: Initialise board variables

This commit is contained in:
Vasishath Kaushal 2018-06-04 22:26:13 +05:30
parent c04bbf0d9e
commit 36c7159553
2 changed files with 34 additions and 0 deletions

View file

@ -13,3 +13,33 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Board device path
DEVICE_PATH := device/xiaomi/whyred
BOARD_VENDOR := xiaomi
TARGET_BOOTLOADER_BOARD_NAME := sdm636
TARGET_BOARD_PLATFORM_GPU := qcom-adreno509
TARGET_NO_BOOTLOADER := true
TARGET_BOARD_PLATFORM := sdm660
# Architecture
TARGET_ARCH := arm64
TARGET_ARCH_VARIANT := armv8-a
TARGET_CPU_ABI := arm64-v8a
TARGET_CPU_ABI2 :=
TARGET_CPU_VARIANT := kryo
TARGET_2ND_ARCH := arm
TARGET_2ND_ARCH_VARIANT := armv7-a-neon
TARGET_2ND_CPU_ABI := armeabi-v7a
TARGET_2ND_CPU_ABI2 := armeabi
TARGET_2ND_CPU_VARIANT := cortex-a53
# QCOM
BOARD_USES_QCOM_HARDWARE := true
# Inherit from proprietary files
include vendor/xiaomi/whyred/BoardConfigVendor.mk

View file

@ -13,3 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Call the proprietary setup
$(call inherit-product, vendor/xiaomi/whyred/whyred-vendor.mk)