blob: b07c6684ebc109e9608d90c75ee2b883de39e727 [file] [log] [blame]
Colin Crossc151bcf2011-04-11 18:49:38 -07001#
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
Simon Wilson4a972582011-06-09 14:28:56 -070017# This variable is set first, so it can be overridden
Colin Crossc151bcf2011-04-11 18:49:38 -070018# by BoardConfigVendor.mk
Colin Crossc151bcf2011-04-11 18:49:38 -070019USE_CAMERA_STUB := true
20
21# Use the non-open-source parts, if they're present
22-include vendor/samsung/tuna/BoardConfigVendor.mk
23
Wink Savillebd6aec22012-08-20 16:28:38 -070024# Default values, if not overridden else where.
25TARGET_BOARD_INFO_FILE ?= device/samsung/tuna/board-info.txt
26BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR ?= device/samsung/tuna/bluetooth
27
Colin Crossc151bcf2011-04-11 18:49:38 -070028TARGET_CPU_ABI := armeabi-v7a
29TARGET_CPU_ABI2 := armeabi
30TARGET_CPU_SMP := true
Jean-Baptiste Queru20cb7d02012-08-10 09:48:38 -070031TARGET_ARCH := arm
Colin Crossc151bcf2011-04-11 18:49:38 -070032TARGET_ARCH_VARIANT := armv7-a-neon
33ARCH_ARM_HAVE_TLS_REGISTER := true
34
Colin Crossc151bcf2011-04-11 18:49:38 -070035TARGET_NO_BOOTLOADER := true
Colin Crossc151bcf2011-04-11 18:49:38 -070036
37BOARD_KERNEL_BASE := 0x80000000
Dima Zavinb11cf8b2011-10-25 23:47:37 -070038# BOARD_KERNEL_CMDLINE :=
Colin Crossc151bcf2011-04-11 18:49:38 -070039
40TARGET_NO_RADIOIMAGE := true
41TARGET_BOARD_PLATFORM := omap4
42TARGET_BOOTLOADER_BOARD_NAME := tuna
43
44BOARD_EGL_CFG := device/samsung/tuna/egl.cfg
Dan Murphyd08cb982012-01-16 09:44:03 -060045BOARD_CREATE_TUNA_HDCP_KEYS_SYMLINK := true
Colin Crossc151bcf2011-04-11 18:49:38 -070046
47#BOARD_USES_HGL := true
48#BOARD_USES_OVERLAY := true
Romain Guy5967fd92011-06-20 18:10:36 -070049USE_OPENGL_RENDERER := true
Colin Crossc151bcf2011-04-11 18:49:38 -070050
Mathias Agopian6fa3e042012-01-06 18:30:40 -080051# set if the target supports FBIO_WAITFORVSYNC
52TARGET_HAS_WAITFORVSYNC := true
53
Michael Wardd5c86ab2011-06-22 14:48:15 -070054TARGET_RECOVERY_PIXEL_FORMAT := "BGRA_8888"
55TARGET_RECOVERY_UI_LIB := librecovery_ui_tuna
Michael Warde03df732011-06-30 19:05:19 -070056
57# device-specific extensions to the updater binary
58TARGET_RECOVERY_UPDATER_LIBS += librecovery_updater_tuna
Michael Wardd5c86ab2011-06-22 14:48:15 -070059TARGET_RELEASETOOLS_EXTENSIONS := device/samsung/tuna
60
Colin Crossc151bcf2011-04-11 18:49:38 -070061TARGET_USERIMAGES_USE_EXT4 := true
Colin Crossd4bdce32011-07-11 10:53:22 -070062BOARD_SYSTEMIMAGE_PARTITION_SIZE := 685768704
Ken Sumrallc256e5a2011-07-14 11:29:11 -070063BOARD_USERDATAIMAGE_PARTITION_SIZE := 14539537408
Colin Crossc151bcf2011-04-11 18:49:38 -070064BOARD_FLASH_BLOCK_SIZE := 4096
65
66#TARGET_PROVIDES_INIT_RC := true
67#TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
Dmitry Shmidt0f7779b2011-06-03 11:13:15 -070068
69# Wifi related defines
Dmitry Shmidt643ad5d2011-07-08 13:28:17 -070070BOARD_WPA_SUPPLICANT_DRIVER := NL80211
Dmitry Shmidt0f7779b2011-06-03 11:13:15 -070071WPA_SUPPLICANT_VERSION := VER_0_8_X
72BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
Dmitry Shmidtebc78842011-07-23 17:40:49 -070073BOARD_HOSTAPD_DRIVER := NL80211
74BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
Dmitry Shmidt0f7779b2011-06-03 11:13:15 -070075BOARD_WLAN_DEVICE := bcmdhd
Dmitry Shmidt05af98f2011-07-25 15:13:12 -070076WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"
Dmitry Shmidt643ad5d2011-07-08 13:28:17 -070077#WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/bcmdhd.ko"
78WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcmdhd.bin"
Dmitry Shmidtebc78842011-07-23 17:40:49 -070079WIFI_DRIVER_FW_PATH_P2P := "/vendor/firmware/fw_bcmdhd_p2p.bin"
Dmitry Shmidt643ad5d2011-07-08 13:28:17 -070080WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin"
Jaikumar Ganeshe3028622011-06-03 14:35:33 -070081
82BOARD_HAVE_BLUETOOTH := true
83BOARD_HAVE_BLUETOOTH_BCM := true
Colin Crossaa0ea312011-07-18 17:00:07 -070084
85BOARD_LIB_DUMPSTATE := libdumpstate.tuna
Jeffrey Tinkeraca7c982011-10-19 22:09:02 -070086
87BOARD_USES_SECURE_SERVICES := true