blob: e46dafde8500419bedb9499daaf82142307a4e71 [file] [log] [blame]
Colin Crossa9e55ed2013-10-07 14:15:18 -07001#
2# Copyright (C) 2013 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
Colin Crossa9e55ed2013-10-07 14:15:18 -070017# 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
Colin Cross2e4e82b2014-01-31 18:41:57 -080030
31ifeq ($(TARGET_DEVICE),flounder64)
32TARGET_BOARD_PLATFORM := tegra132
33TARGET_BOARD_INFO_FILE := device/htc/flounder/board-info64.txt
34else
Colin Crossa9e55ed2013-10-07 14:15:18 -070035TARGET_BOARD_PLATFORM := tegra124
Alex Ray07917d42013-10-18 16:51:58 -070036TARGET_BOARD_INFO_FILE := device/htc/flounder/board-info.txt
Colin Cross2e4e82b2014-01-31 18:41:57 -080037endif
38
39TARGET_BOOTLOADER_BOARD_NAME := flounder
Colin Crossa9e55ed2013-10-07 14:15:18 -070040
41USE_OPENGL_RENDERER := true
42NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
43
44TARGET_RECOVERY_FSTAB = device/htc/flounder/fstab.flounder
45TARGET_USERIMAGES_USE_EXT4 := true
Colin Crossf20283c2013-10-11 11:30:18 -070046BOARD_SYSTEMIMAGE_PARTITION_SIZE := 805306368
47BOARD_USERDATAIMAGE_PARTITION_SIZE := 14061928448
48BOARD_CACHEIMAGE_PARTITION_SIZE := 805306368
Colin Crossa9e55ed2013-10-07 14:15:18 -070049BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
50BOARD_FLASH_BLOCK_SIZE := 4096
51
52BOARD_CHARGER_DISABLE_INIT_BLANK := true
53BOARD_USES_GENERIC_INVENSENSE := false
54
55USE_E2FSPROGS := true
thomas.tt_linbbd59772013-11-07 11:11:43 +080056BOARD_HAVE_BLUETOOTH_BCM := true
Colin Crossa9e55ed2013-10-07 14:15:18 -070057
58BOARD_USES_GENERIC_AUDIO := false
59BOARD_USES_ALSA_AUDIO := true
Dmitry Shmidtc4a032a2013-10-09 14:57:38 -070060
Todd Poynor6d83f952014-01-03 16:00:28 -080061BOARD_HAL_STATIC_LIBRARIES := libdumpstate.flounder
62
Dmitry Shmidtc4a032a2013-10-09 14:57:38 -070063# Wifi related defines
64BOARD_WPA_SUPPLICANT_DRIVER := NL80211
65WPA_SUPPLICANT_VERSION := VER_0_8_X
66BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
67BOARD_HOSTAPD_DRIVER := NL80211
68BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
69BOARD_WLAN_DEVICE := bcmdhd
70WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"
71WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcmdhd.bin"
72WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin"
Colin Cross9d42c352014-02-10 17:28:36 -080073
74BOARD_SEPOLICY_DIRS := device/htc/flounder/sepolicy
75BOARD_SEPOLICY_UNION := \
76 file_contexts \