blob: 97db89c7baa3b449ade6a1767431c4fb8dc595ed [file] [log] [blame]
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -07001#
Iliyan Malchevfefe23c2012-06-08 10:36:25 -07002# Copyright (C) 2011 The Android Open-Source Project
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -07003#
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
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070017TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp
18TARGET_GLOBAL_CPPFLAGS += -mfpu=neon -mfloat-abi=softfp
19TARGET_CPU_ABI := armeabi-v7a
20TARGET_CPU_ABI2 := armeabi
21TARGET_CPU_SMP := true
22TARGET_ARCH_VARIANT := armv7-a-neon
23ARCH_ARM_HAVE_TLS_REGISTER := true
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -070024
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070025TARGET_NO_BOOTLOADER := true
26
27BOARD_KERNEL_BASE := 0x80200000
28BOARD_KERNEL_PAGESIZE := 2048
29BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=mako lpj=67677
30
31BOARD_USES_ALSA_AUDIO:= true
32
Ajay Dudani5d4f9f82012-06-20 15:44:25 -070033BOARD_HAVE_BLUETOOTH := true
34
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070035TARGET_NO_RADIOIMAGE := true
36TARGET_BOARD_PLATFORM := msm8960
37TARGET_BOOTLOADER_BOARD_NAME := MAKO
38TARGET_BOOTLOADER_NAME=mako
39#TARGET_BOARD_INFO_FILE := device/lge/j1tm/board-info.txt
40
41# FIXME: HOSTAPD-derived wifi driver
42ifeq (0,0)
43BOARD_HAS_QCOM_WLAN := true
44BOARD_WPA_SUPPLICANT_DRIVER := NL80211
45BOARD_HOSTAPD_DRIVER := NL80211
46WPA_SUPPLICANT_VERSION := VER_2_0_DEV
47HOSTAPD_VERSION := VER_2_0_DEV
48WIFI_DRIVER_FW_PATH_STA := "sta"
Iliyan Malcheve011ca22012-06-14 14:58:24 -070049#WIFI_DRIVER_FW_PATH_AP := "ap"
50#WIFI_DRIVER_FW_PATH_P2P := "p2p"
51WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/wlan.ko"
52WIFI_DRIVER_MODULE_NAME := "wlan"
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070053WIFI_DRIVER_CONF_FILE := "/data/misc/wifi/WCNSS_qcom_cfg.ini"
54WIFI_DRIVER_DEF_CONF_FILE := $(WIFI_DRIVER_CONF_FILE)
55BOARD_WLAN_DEVICE := qcwcn
56endif
57
58BOARD_EGL_CFG := device/lge/mako/egl.cfg
59
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070060# no hardware camera
61USE_CAMERA_STUB := true
62
63#BOARD_USES_HGL := true
64#BOARD_USES_OVERLAY := true
65USE_OPENGL_RENDERER := true
66TARGET_USES_ION := true
67TARGET_USES_OVERLAY := true
68TARGET_USES_SF_BYPASS := true
69TARGET_USES_C2D_COMPOSITON := true
70
Ajay Dudani950314e2012-06-17 14:50:41 -070071TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
Iliyan Malchevfefe23c2012-06-08 10:36:25 -070072
73TARGET_USERIMAGES_USE_EXT4 := true
74BOARD_BOOTIMAGE_PARTITION_SIZE := 0x016E3600
75BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x016E3600
76BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1207959552 # 1.1GB
77BOARD_USERDATAIMAGE_PARTITION_SIZE := 1073741824
78BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)
79
80BOARD_USES_SECURE_SERVICES := true
Jean-Baptiste Queruda90dca2012-06-05 16:03:03 -070081
Jean-Baptiste Queruf71ec4b2012-06-05 15:25:30 -070082-include vendor/lge/mako/BoardConfigVendor.mk