summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'BoardConfig.mk')
-rw-r--r--BoardConfig.mk86
1 files changed, 86 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
new file mode 100644
index 0000000..cbfe61b
--- /dev/null
+++ b/BoardConfig.mk
@@ -0,0 +1,86 @@
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-a9
33
34ENABLE_CPUSETS := true
35
36BOARD_HAVE_BLUETOOTH := false
37BOARD_HAVE_BLUETOOTH_TI := false
38BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/ti/am43xevm/bluetooth
39TARGET_NO_BOOTLOADER := true
40
41BOARD_KERNEL_BASE := 0x80008000
42#BOARD_KERNEL_CMDLINE := console=ttyO2,115200n8 mem=1024M androidboot.console=ttyO2 androidboot.hardware=am43xevmboard vram=20M omapfb.vram=0:16M
43BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x03000000
44
45TARGET_NO_RADIOIMAGE := true
46TARGET_BOARD_PLATFORM := omap3
47TARGET_BOOTLOADER_BOARD_NAME := am43xevm
48
49BOARD_EGL_CFG := device/ti/am43xevm/egl.cfg
50
51USE_OPENGL_RENDERER := true
52
53TARGET_USERIMAGES_USE_EXT4 := true
54BOARD_SYSTEMIMAGE_PARTITION_SIZE := 805306368
55BOARD_USERDATAIMAGE_PARTITION_SIZE := 2147483648
56BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
57BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
58BOARD_FLASH_BLOCK_SIZE := 4096
59
60TARGET_RECOVERY_FSTAB = device/ti/am43xevm/fstab.am43xevmboard
61TARGET_RECOVERY_PIXEL_FORMAT := "RGB565"
62TARGET_RELEASETOOLS_EXTENSIONS := device/ti/am43xevm
63
64# Connectivity - Wi-Fi
65USES_TI_MAC80211 := false
66ifeq ($(USES_TI_MAC80211),true)
67BOARD_WPA_SUPPLICANT_DRIVER := NL80211
68WPA_SUPPLICANT_VERSION := VER_0_8_X
69BOARD_HOSTAPD_DRIVER := NL80211
70BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_wl12xx
71BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_wl12xx
72BOARD_WLAN_DEVICE := wl12xx_mac80211
73BOARD_SOFTAP_DEVICE := wl12xx_mac80211
74COMMON_GLOBAL_CFLAGS += -DUSES_TI_MAC80211
75COMMON_GLOBAL_CFLAGS += -DANDROID_LIB_STUB
76endif
77
78BOARD_SEPOLICY_DIRS := device/ti/am43xevm/sepolicy
79
80# lidbrm driver
81BOARD_GPU_DRIVERS := omapdrm
82
83# DispSync vsync offsets in nanoseconds
84VSYNC_EVENT_PHASE_OFFSET_NS := 7500000
85SF_VSYNC_EVENT_PHASE_OFFSET_NS := 5000000
86