summaryrefslogtreecommitdiff
path: root/BoardConfig.mk
blob: 95c41684d06ddaca806ae5b424cd04938bb4799e (plain)
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
#
# Copyright 2013 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# Use the non-open-source parts, if they're present
-include vendor/linaro/arndale_octa/BoardConfigVendor.mk

TARGET_ARCH := arm
TARGET_BOARD_PLATFORM := arndale_octa
TARGET_NO_KERNEL := false
TARGET_KERNEL_SOURCE := kernel/linaro/arndale_octa
KERNEL_CONFIG := arndale_octa_android_defconfig
KERNEL_LOADADDR := 20008000
DEVICE_TREES := exynos5420-arndale-octa:board.dtb
TARGET_USE_UBOOT := true
UBOOT_CONFIG := arndale_octa
TARGET_HWPACK_CONFIG := device/linaro/arndale_octa/config
TARGET_USE_XLOADER := false
TARGET_NO_RECOVERY := true
TARGET_CPU_SMP := true
TARGET_ARCH_VARIANT := armv7-a-neon
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_CPU_VARIANT := cortex-a15

TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
# bootargs
BOARD_KERNEL_CMDLINE := console=ttySAC3 root=/dev/mmcblk1p3

# Origen uses an Exynos4 -- Cortex A9 TO FIX arndale_octa A15
TARGET_EXTRA_CFLAGS += $(call cc-option,-mtune=cortex-a9,$(call cc-option,-mtune=cortex-a8)) $(call cc-option,-mcpu=cortex-a9,$(call cc-option,-mcpu=cortex-a8))

# ARMs gator (DS-5)
TARGET_USE_GATOR := false
TARGET_BOOTLOADER_TYPE := uboot