Home | History | Annotate | Download | only in flo
      1 #
      2 # Copyright (C) 2011 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 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 := arm
     23 TARGET_ARCH_VARIANT := armv7-a-neon
     24 TARGET_CPU_VARIANT := krait
     25 ARCH_ARM_HAVE_TLS_REGISTER := true
     26 
     27 TARGET_NO_BOOTLOADER := false
     28 
     29 BOARD_KERNEL_BASE := 0x80200000
     30 BOARD_KERNEL_PAGESIZE := 2048
     31 # BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=msm8960 maxcpus=2
     32 BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=flo user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3
     33 BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x02000000
     34 
     35 BOARD_USES_ALSA_AUDIO:= true
     36 BOARD_USES_LEGACY_ALSA_AUDIO:= false
     37 BOARD_USES_FLUENCE_INCALL := true
     38 BOARD_USES_SEPERATED_AUDIO_INPUT := true
     39 
     40 BOARD_HAVE_BLUETOOTH := true
     41 BOARD_HAVE_BLUETOOTH_QCOM := true
     42 BLUETOOTH_HCI_USE_MCT := true
     43 
     44 TARGET_NO_RADIOIMAGE := true
     45 TARGET_BOARD_PLATFORM := msm8960
     46 
     47 BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/asus/flo/bluetooth
     48 
     49 # FIXME: HOSTAPD-derived wifi driver
     50 BOARD_HAS_QCOM_WLAN := true
     51 BOARD_WLAN_DEVICE := qcwcn
     52 WPA_SUPPLICANT_VERSION := VER_0_8_X
     53 BOARD_WPA_SUPPLICANT_DRIVER := NL80211
     54 BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
     55 BOARD_HOSTAPD_DRIVER := NL80211
     56 BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
     57 WIFI_DRIVER_FW_PATH_STA := "sta"
     58 WIFI_DRIVER_FW_PATH_AP  := "ap"
     59 
     60 BOARD_EGL_CFG := device/asus/flo/egl.cfg
     61 
     62 #BOARD_USES_HGL := true
     63 #BOARD_USES_OVERLAY := true
     64 USE_OPENGL_RENDERER := true
     65 PRESENT_TIME_OFFSET_FROM_VSYNC_NS := 3200000
     66 TARGET_USES_ION := true
     67 TARGET_USES_OVERLAY := true
     68 TARGET_USES_SF_BYPASS := true
     69 TARGET_USES_C2D_COMPOSITON := true
     70 
     71 TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
     72 TARGET_RECOVERY_UI_LIB := librecovery_ui_flo
     73 
     74 TARGET_USERIMAGES_USE_EXT4 := true
     75 BOARD_BOOTIMAGE_PARTITION_SIZE := 23068672 # 22M
     76 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 23068672 # 22M
     77 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 880803840 # 840M
     78 
     79 BOARD_USERDATAIMAGE_PARTITION_SIZE := 12348030976 # 11.5G
     80 BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)
     81 
     82 BOARD_USES_SECURE_SERVICES := true
     83 
     84 
     85 USE_CAMERA_STUB := false
     86 BOARD_USES_CAMERA_FAST_AUTOFOCUS := false
     87 
     88 BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := $(TARGET_BOARD_PLATFORM)
     89 TARGET_NO_RPC := true
     90 
     91 BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
     92 BOARD_CACHEIMAGE_PARTITION_SIZE := 33554432
     93 
     94 BOARD_PERSISTIMAGE_FILE_SYSTEM_TYPE := ext4
     95 BOARD_PERSISTIMAGE_PARTITION_SIZE := 5242880
     96 
     97 TARGET_USES_POST_PROCESSING := true
     98 TARGET_CUSTOM_DISPLAY_TUNING := true
     99 
    100 USE_DEVICE_SPECIFIC_QCOM_PROPRIETARY := true
    101 OVERRIDE_RS_DRIVER := libRSDriver_adreno.so
    102 
    103 USE_DEVICE_SPECIFIC_CAMERA:= true
    104 
    105 HAVE_ADRENO_SOURCE:= false
    106