summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Bajjuri2016-04-27 00:14:05 -0500
committerPraneeth Bajjuri2016-04-27 00:14:05 -0500
commitea94a53a31427ada1f8b6219b4cb0fc6398e5f52 (patch)
treef3141ed65262469d48dbcee65e79b3fb8178ffcb /BoardConfig.mk
parente47dcceeac4e601f3203c61f5230c91fdb69e72d (diff)
downloaddevice-ti-am57xevm-ea94a53a31427ada1f8b6219b4cb0fc6398e5f52.tar.gz
device-ti-am57xevm-ea94a53a31427ada1f8b6219b4cb0fc6398e5f52.tar.xz
device-ti-am57xevm-ea94a53a31427ada1f8b6219b4cb0fc6398e5f52.zip
AM57xevm: Initial Device project baseline
Initial commit based on jacinto6evm board Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Diffstat (limited to 'BoardConfig.mk')
-rw-r--r--BoardConfig.mk76
1 files changed, 76 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
new file mode 100644
index 0000000..4222e6d
--- /dev/null
+++ b/BoardConfig.mk
@@ -0,0 +1,76 @@
1#
2# Copyright (C) 2011 The Android Open-Source 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# These two variables are set first, so they can be overridden
18# by BoardConfigVendor.mk
19BOARD_USES_GENERIC_AUDIO := true
20#USE_CAMERA_STUB := true
21OMAP_ENHANCEMENT := true
22
23ifeq ($(OMAP_ENHANCEMENT),true)
24COMMON_GLOBAL_CFLAGS += -DOMAP_ENHANCEMENT
25endif
26
27TARGET_CPU_ABI := armeabi-v7a
28TARGET_CPU_ABI2 := armeabi
29TARGET_CPU_SMP := true
30TARGET_ARCH := arm
31TARGET_ARCH_VARIANT := armv7-a-neon
32TARGET_CPU_VARIANT := cortex-a15
33
34BOARD_HAVE_BLUETOOTH := false
35BOARD_HAVE_BLUETOOTH_TI := false
36BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/ti/am57xevm/bluetooth
37TARGET_NO_BOOTLOADER := true
38
39BOARD_KERNEL_BASE := 0xx80008000
40#BOARD_KERNEL_CMDLINE := console=ttyO2,115200n8 mem=1024M androidboot.console=ttyO2 androidboot.hardware=am57xevmboard vram=20M omapfb.vram=0:16M
41BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01f00000
42
43TARGET_NO_RADIOIMAGE := true
44TARGET_BOARD_PLATFORM := am57x
45TARGET_BOOTLOADER_BOARD_NAME := am57xevm
46
47BOARD_EGL_CFG := device/ti/am57xevm/egl.cfg
48
49USE_OPENGL_RENDERER := true
50
51TARGET_USERIMAGES_USE_EXT4 := true
52BOARD_SYSTEMIMAGE_PARTITION_SIZE := 805306368
53BOARD_USERDATAIMAGE_PARTITION_SIZE := 2147483648
54BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
55BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
56BOARD_FLASH_BLOCK_SIZE := 4096
57
58TARGET_RECOVERY_FSTAB = device/ti/am57xevm/fstab.am57xevmboard
59TARGET_RECOVERY_PIXEL_FORMAT := "RGB565"
60TARGET_RELEASETOOLS_EXTENSIONS := device/ti/am57xevm
61
62# Connectivity - Wi-Fi
63USES_TI_MAC80211 := false
64ifeq ($(USES_TI_MAC80211),true)
65BOARD_WPA_SUPPLICANT_DRIVER := NL80211
66WPA_SUPPLICANT_VERSION := VER_0_8_X
67BOARD_HOSTAPD_DRIVER := NL80211
68BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_wl12xx
69BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_wl12xx
70BOARD_WLAN_DEVICE := wl12xx_mac80211
71BOARD_SOFTAP_DEVICE := wl12xx_mac80211
72COMMON_GLOBAL_CFLAGS += -DUSES_TI_MAC80211
73COMMON_GLOBAL_CFLAGS += -DANDROID_LIB_STUB
74endif
75
76BOARD_SEPOLICY_DIRS := device/ti/am57xevm/sepolicy