BoardConfig.mk revision 9d35d14230a90d09e723f8636079badd0ed8aeae
1#
2# Copyright (C) 2013-2014 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# Use the non-open-source parts, if they're present
18-include vendor/htc/flounder/BoardConfigVendor.mk
19
20TARGET_CPU_ABI := armeabi-v7a
21TARGET_CPU_ABI2 := armeabi
22TARGET_CPU_SMP := true
23TARGET_ARCH := arm
24TARGET_ARCH_VARIANT := armv7-a-neon
25TARGET_CPU_VARIANT := cortex-a15
26
27TARGET_NO_BOOTLOADER := true
28
29TARGET_NO_RADIOIMAGE := true
30
31TARGET_BOARD_PLATFORM := tegra132
32TARGET_BOARD_INFO_FILE := device/htc/flounder/board-info.txt
33
34TARGET_BOOTLOADER_BOARD_NAME := flounder
35
36USE_OPENGL_RENDERER := true
37NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
38
39TARGET_RECOVERY_FSTAB = device/htc/flounder/fstab.flounder
40TARGET_USERIMAGES_USE_EXT4 := true
41BOARD_SYSTEMIMAGE_PARTITION_SIZE := 805306368
42BOARD_USERDATAIMAGE_PARTITION_SIZE := 14061928448
43BOARD_CACHEIMAGE_PARTITION_SIZE := 805306368
44BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
45BOARD_FLASH_BLOCK_SIZE := 4096
46
47BOARD_CHARGER_DISABLE_INIT_BLANK := true
48BOARD_USES_GENERIC_INVENSENSE := false
49
50USE_E2FSPROGS := true
51BOARD_HAVE_BLUETOOTH_BCM := true
52
53BOARD_USES_GENERIC_AUDIO := false
54BOARD_USES_ALSA_AUDIO := true
55
56BOARD_HAL_STATIC_LIBRARIES := libdumpstate.flounder
57
58BOARD_VENDOR_USE_SENSOR_HAL := sensor_hub
59
60# Wifi related defines
61BOARD_WPA_SUPPLICANT_DRIVER := NL80211
62WPA_SUPPLICANT_VERSION      := VER_0_8_X
63BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
64BOARD_HOSTAPD_DRIVER        := NL80211
65BOARD_HOSTAPD_PRIVATE_LIB   := lib_driver_cmd_bcmdhd
66BOARD_WLAN_DEVICE           := bcmdhd
67WIFI_DRIVER_FW_PATH_PARAM   := "/sys/module/bcmdhd/parameters/firmware_path"
68WIFI_DRIVER_FW_PATH_STA     := "/vendor/firmware/fw_bcmdhd.bin"
69WIFI_DRIVER_FW_PATH_AP      := "/vendor/firmware/fw_bcmdhd_apsta.bin"
70
71BOARD_SEPOLICY_DIRS := device/htc/flounder/sepolicy
72BOARD_SEPOLICY_UNION := \
73	file_contexts \
74	bluetooth.te
75
76TARGET_USES_64_BIT_BCMDHD := true
77TARGET_USES_64_BIT_BINDER := true
78
79TARGET_USES_LOGD := true
80