blob: 04228ec8627525bcc7d37a08ae86254a07f3325a [file] [log] [blame]
Vishal Mahaveer7186e502013-03-26 16:20:32 -05001#
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
Vishal Mahaveere9f86a72013-11-26 17:35:13 -060020#USE_CAMERA_STUB := true
Vishal Mahaveer294adf72014-11-12 17:58:15 -060021OMAP_ENHANCEMENT := true
Vishal Mahaveer7186e502013-03-26 16:20:32 -050022
Vishal Mahaveer1c778e52014-07-07 15:50:41 -050023ifeq ($(OMAP_ENHANCEMENT),true)
24COMMON_GLOBAL_CFLAGS += -DOMAP_ENHANCEMENT
Misael Lopez Cruz1cc33e62013-10-17 15:45:38 -050025# Multi-zone audio (requires ro.com.ti.omap_multizone_audio, see device.mk)
Vishal Mahaveera3a4c2d2014-04-07 15:08:00 -050026#OMAP_MULTIZONE_AUDIO := true
Vishal Mahaveer7186e502013-03-26 16:20:32 -050027endif
28
29TARGET_CPU_ABI := armeabi-v7a
30TARGET_CPU_ABI2 := armeabi
31TARGET_CPU_SMP := true
32TARGET_ARCH := arm
33TARGET_ARCH_VARIANT := armv7-a-neon
Vishal Mahaveer7af3c0d2013-07-30 23:09:44 -050034TARGET_CPU_VARIANT := cortex-a15
Vishal Mahaveer7186e502013-03-26 16:20:32 -050035
36BOARD_HAVE_BLUETOOTH := true
37BOARD_HAVE_BLUETOOTH_TI := true
38BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/ti/jacinto6evm/bluetooth
39TARGET_NO_BOOTLOADER := true
Vishal Mahaveer7186e502013-03-26 16:20:32 -050040
41BOARD_KERNEL_BASE := 0x80000000
Vishal Mahaveer736113c2013-09-13 10:20:47 -050042#BOARD_KERNEL_CMDLINE := console=ttyO2,115200n8 mem=1024M androidboot.console=ttyO2 androidboot.hardware=jacinto6evmboard vram=20M omapfb.vram=0:16M
43BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01f00000
Vishal Mahaveer7186e502013-03-26 16:20:32 -050044
45TARGET_NO_RADIOIMAGE := true
Vishal Mahaveerf8e651a2013-05-20 22:43:48 -050046TARGET_BOARD_PLATFORM := jacinto6
Vishal Mahaveere99d27a2013-05-17 16:07:05 -050047TARGET_BOOTLOADER_BOARD_NAME := jacinto6evm
Vishal Mahaveer7186e502013-03-26 16:20:32 -050048
49BOARD_EGL_CFG := device/ti/jacinto6evm/egl.cfg
50
51USE_OPENGL_RENDERER := true
52
53TARGET_USERIMAGES_USE_EXT4 := true
Vishal Mahaveer3d3ef412014-05-07 15:24:35 -050054BOARD_SYSTEMIMAGE_PARTITION_SIZE := 805306368
Vishal Mahaveer70a598e2013-07-31 16:14:28 -050055BOARD_USERDATAIMAGE_PARTITION_SIZE := 2147483648
Vishal Mahaveer7186e502013-03-26 16:20:32 -050056BOARD_FLASH_BLOCK_SIZE := 4096
57
Vishal Mahaveer4a63e632014-01-24 08:30:03 -060058TARGET_RECOVERY_FSTAB = device/ti/jacinto6evm/fstab.jacinto6evmboard
Vishal Mahaveerdcfc4ed2014-01-27 17:20:03 -060059TARGET_RECOVERY_PIXEL_FORMAT := "RGB565"
Vishal Mahaveer4a63e632014-01-24 08:30:03 -060060TARGET_RELEASETOOLS_EXTENSIONS := device/ti/jacinto6evm
61
Vishal Mahaveer7186e502013-03-26 16:20:32 -050062# Connectivity - Wi-Fi
Vishal Mahaveerbef65412014-11-05 15:35:56 -060063#USES_TI_MAC80211 := true
Vishal Mahaveer1c778e52014-07-07 15:50:41 -050064ifeq ($(USES_TI_MAC80211),true)
Barak Bercovitz60df0fe2013-10-19 18:50:00 +030065BOARD_WPA_SUPPLICANT_DRIVER := NL80211
66WPA_SUPPLICANT_VERSION := VER_0_8_X_TI
67BOARD_HOSTAPD_DRIVER := NL80211
68BOARD_WLAN_DEVICE := wl12xx_mac80211
69BOARD_SOFTAP_DEVICE := wl12xx_mac80211
70COMMON_GLOBAL_CFLAGS += -DUSES_TI_MAC80211
71endif
Vishal Mahaveer7186e502013-03-26 16:20:32 -050072
Misael Lopez Cruz1cc33e62013-10-17 15:45:38 -050073ifeq ($(OMAP_MULTIZONE_AUDIO),true)
74COMMON_GLOBAL_CFLAGS += -DOMAP_MULTIZONE_AUDIO
75endif
Vishal Mahaveer7186e502013-03-26 16:20:32 -050076
Vishal Mahaveerbef65412014-11-05 15:35:56 -060077#BOARD_SEPOLICY_DIRS := device/ti/jacinto6evm/sepolicy
78#BOARD_SEPOLICY_UNION := \
79# healthd.te
Vishal Mahaveer965845f2014-07-16 09:06:59 -050080