BoardConfig.mk revision 1a45702e006d77fb3c973bac484df0b62975de10
13647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava#
23647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava# Copyright (C) 2014 The Android Open-Source Project
33647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava#
43647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava# Licensed under the Apache License, Version 2.0 (the "License");
53647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava# you may not use this file except in compliance with the License.
63647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava# You may obtain a copy of the License at
73647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava#
83647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava#      http://www.apache.org/licenses/LICENSE-2.0
93647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava#
103647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava# Unless required by applicable law or agreed to in writing, software
113647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava# distributed under the License is distributed on an "AS IS" BASIS,
123647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
133647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava# See the License for the specific language governing permissions and
143647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava# limitations under the License.
153647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava#
163647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava
173647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaTARGET_CPU_ABI := armeabi-v7a
183647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaTARGET_CPU_ABI2 := armeabi
193647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaTARGET_CPU_SMP := true
203647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaTARGET_ARCH := arm
213647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaTARGET_ARCH_VARIANT := armv7-a-neon
223647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaTARGET_CPU_VARIANT := krait
233647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava
243647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaTARGET_NO_BOOTLOADER := true
253647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava
263647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaBOARD_KERNEL_BASE := 0x00000000
273647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaBOARD_KERNEL_PAGESIZE :=  2048
283647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaBOARD_KERNEL_TAGS_OFFSET := 0x01E00000
293647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaBOARD_RAMDISK_OFFSET     := 0x02000000
303647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava
313647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaBOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=shamu msm_rtb.filter=0x37 ehci-hcd.park=3 utags.blkdev=/dev/block/platform/msm_sdcc.1/by-name/utags utags.backup=/dev/block/platform/msm_sdcc.1/by-name/utagsBackup
323647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava
333647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaBOARD_MKBOOTIMG_ARGS := --ramdisk_offset BOARD_RAMDISK_OFFSET --tags_offset BOARD_KERNEL_TAGS_OFFSET
343647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava
354248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava# Shader cache config options
364248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava# Maximum size of the  GLES Shaders that can be cached for reuse.
374248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava# Increase the size if shaders of size greater than 12KB are used.
384248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta SrivastavaMAX_EGL_CACHE_KEY_SIZE := 12*1024
394248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava
404248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava# Maximum GLES shader cache size for each app to store the compiled shader
414248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava# binaries. Decrease the size if RAM or Flash Storage size is a limitation
424248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava# of the device.
434248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta SrivastavaMAX_EGL_CACHE_SIZE := 2048*1024
444248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava
454248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta SrivastavaBOARD_EGL_CFG := device/moto/shamu/egl.cfg
464248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava
47d8a5cab454b6f6cbd474320bcf55eb721856345bVineeta SrivastavaBOARD_USES_ALSA_AUDIO := true
484248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava
494248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava# Wifi related defines
504248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava#WPA_SUPPLICANT_VERSION      := VER_0_8_X
514248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava#BOARD_WLAN_DEVICE           := bcmdhd
524248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava#BOARD_WPA_SUPPLICANT_DRIVER := NL80211
534248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava#BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
544248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava#BOARD_HOSTAPD_DRIVER        := NL80211
554248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava#BOARD_HOSTAPD_PRIVATE_LIB   := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
564248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava#WIFI_DRIVER_FW_PATH_PARAM   := "/sys/module/bcmdhd/parameters/firmware_path"
574248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava#WIFI_DRIVER_FW_PATH_AP      := "/vendor/firmware/fw_bcmdhd_apsta.bin"
584248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava#WIFI_DRIVER_FW_PATH_STA     := "/vendor/firmware/fw_bcmdhd.bin"
594248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava
604248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava#BOARD_USES_SECURE_SERVICES := true
614248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava
624248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava
633647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaTARGET_NO_RADIOIMAGE := true
643647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaTARGET_BOARD_PLATFORM := msm8084
653647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaTARGET_BOOTLOADER_BOARD_NAME := shamu
663647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaTARGET_NO_RPC := true
673647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava
681a45702e006d77fb3c973bac484df0b62975de10Iliyan MalchevTARGET_BOARD_INFO_FILE := vendor/moto/shamu/board-info.txt
691a45702e006d77fb3c973bac484df0b62975de10Iliyan Malchev
704248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta SrivastavaUSE_OPENGL_RENDERER := true
714248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta SrivastavaVSYNC_EVENT_PHASE_OFFSET_NS := 7500000
724248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta SrivastavaSF_VSYNC_EVENT_PHASE_OFFSET_NS := 5000000
734248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta SrivastavaTARGET_USES_ION := true
744248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta Srivastava
753647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaTARGET_USERIMAGES_USE_EXT4 := true
763647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaBOARD_BOOTIMAGE_PARTITION_SIZE := 23068672
773647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaBOARD_RECOVERYIMAGE_PARTITION_SIZE := 23068672
783647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaBOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824
793647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaBOARD_USERDATAIMAGE_PARTITION_SIZE := 13725837312
803647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaBOARD_CACHEIMAGE_PARTITION_SIZE := 734003200
813647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaBOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
823647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaBOARD_FLASH_BLOCK_SIZE := 131072
833647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava
843647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaBOARD_CHARGER_ENABLE_SUSPEND := true
853647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava
863647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaTARGET_RECOVERY_FSTAB = device/moto/shamu/fstab.shamu
873647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava
883647fdffd1a7f17c728024249bf73d584c681de2Vineeta SrivastavaHAVE_ADRENO_SOURCE:= false
893647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava
904248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta SrivastavaOVERRIDE_RS_DRIVER:= libRSDriver_adreno.so
914248fd4ba8203fa254bbc1ce7bfa6ed36936b555Vineeta SrivastavaTARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true
923647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava
933647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava
943647fdffd1a7f17c728024249bf73d584c681de2Vineeta Srivastava
95