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