-
Notifications
You must be signed in to change notification settings - Fork 1
/
BoardConfig.mk
51 lines (42 loc) · 1.86 KB
/
BoardConfig.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright (C) 2009 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# BoardConfig.mk
#
# Product-specific compile-time definitions.
#
LOCAL_PATH := $(call my-dir)
# Import the msm7x25-common BoardConfigCommon.mk
include device/huawei/msm7x25-common/BoardConfigCommon.mk
# Target Chipset/Platform
TARGET_BOARD_VARIANT := msm7x25
# Target Properties
TARGET_BOOTLOADER_BOARD_NAME := u8350
TARGET_OTA_ASSERT_DEVICE := u8350,hwu8350,boulder,U8350
# GPS
BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := u8350
# Wi-Fi
BOARD_WLAN_DEVICE := bcmdhd
BOARD_WPA_SUPPLICANT_DRIVER := WEXT
WPA_SUPPLICANT_VERSION := VER_0_8_X
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
COMMON_GLOBAL_CFLAGS += -DWEXT_NO_COMBO_SCAN
WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/dhd.ko"
WIFI_DRIVER_FW_PATH_AP := "/system/etc/fw_4319_apsta.bin"
WIFI_DRIVER_FW_PATH_STA := "/system/etc/fw_4319.bin"
WIFI_DRIVER_MODULE_NAME := "dhd"
WIFI_DRIVER_MODULE_ARG := "firmware_path=/system/etc/fw_4319.bin nvram_path=/system/etc/nv_4319.txt"
# Kernel
TARGET_KERNEL_SOURCE := kernel/huawei/u8150
TARGET_KERNEL_CONFIG := cyanogen_u8350_defconfig
BOARD_KERNEL_CMDLINE := mem=211M console=ttyMSM2,115200n8 androidboot.hardware=u8350 mtdparts=msm_nand:5120k@51200k(boot),5120k@57088k(recovery),1280k@62208k(misc),384k@63488k(splash),235520k@63872k(system),25600k@299392k(cache),199296k@324992k(userdata)