-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
taoshan: Restructure the device tree into fragments
* Explode all configurations and makefiles into feature-related files automatically imported * Based upon the fragmented structure introduced in android_device_nextbit_ether by Steve Kondik, and the previous implementations for Huashan and Nicki * Additional relative paths usage and sources cleanup Change-Id: I952bc49056108eb912bc7b0b7366ba2122632611 Signed-off-by: AdrianDC <[email protected]>
- Loading branch information
Showing
104 changed files
with
565 additions
and
527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Platform | ||
TARGET_BOARD_PLATFORM := msm8960 | ||
|
||
# Architecture | ||
TARGET_ARCH := arm | ||
TARGET_ARCH_VARIANT := armv7-a-neon | ||
TARGET_CPU_ABI := armeabi-v7a | ||
TARGET_CPU_ABI2 := armeabi | ||
TARGET_CPU_VARIANT := krait | ||
|
||
# QCOM hardware | ||
BOARD_USES_QCOM_HARDWARE := true | ||
|
||
# Power HAL | ||
CM_POWERHAL_EXTENSION := qcom | ||
TARGET_POWERHAL_VARIANT := qcom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Bluetooth | ||
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Camera | ||
TARGET_PROVIDES_CAMERA_HAL := true | ||
USE_DEVICE_SPECIFIC_CAMERA := true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Healthd | ||
BOARD_CHARGER_ENABLE_SUSPEND := true | ||
BOARD_CHARGER_SHOW_PERCENTAGE := true | ||
RED_LED_PATH := /sys/class/leds/led:rgb_red/brightness | ||
GREEN_LED_PATH := /sys/class/leds/led:rgb_green/brightness | ||
BLUE_LED_PATH := /sys/class/leds/led:rgb_blue/brightness |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# OTA assert | ||
TARGET_OTA_ASSERT_DEVICE := C2105,C2104,c2105,c2104,taoshan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Partitions informations | ||
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x108BB9E | ||
BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456 | ||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1258291200 | ||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 1711276032 | ||
|
||
# Partitions types | ||
TARGET_USERIMAGES_USE_EXT4 := true | ||
TARGET_USERIMAGES_USE_F2FS := true | ||
|
||
# Partitions blocks | ||
BOARD_FLASH_BLOCK_SIZE := 131072 | ||
|
||
# Recovery | ||
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/fstab.qcom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# FM radio | ||
BOARD_USES_SEPERATED_FM := true | ||
QCOM_FM_ENABLED := true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# GPS | ||
BOARD_HAVE_NEW_QC_GPS := true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# CM Hardware | ||
BOARD_HARDWARE_CLASS := $(DEVICE_PATH)/cmhw | ||
|
||
# Lights | ||
TARGET_PROVIDES_LIBLIGHT := true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Kernel informations | ||
BOARD_KERNEL_BASE := 0x80200000 | ||
BOARD_KERNEL_PAGESIZE := 2048 | ||
BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=qcom androidboot.bootdevice=msm_sdcc.1 user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 maxcpus=2 | ||
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x02000000 | ||
|
||
# Kernel properties | ||
TARGET_KERNEL_SOURCE := kernel/sony/msm8930 | ||
TARGET_KERNEL_CONFIG := cyanogenmod_taoshan_defconfig | ||
|
||
# Custom boot | ||
BOARD_CUSTOM_BOOTIMG := true | ||
BOARD_CUSTOM_BOOTIMG_MK := $(DEVICE_PATH)/boot/custombootimg.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Bootloader | ||
TARGET_BOOTLOADER_BOARD_NAME := qcom | ||
|
||
# Vendor platform | ||
BOARD_VENDOR := sony | ||
BOARD_VENDOR_PLATFORM := taoshan | ||
|
||
# Images | ||
TARGET_NO_BOOTLOADER := true | ||
TARGET_NO_RADIOIMAGE := true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Audio configurations | ||
BOARD_USES_ALSA_AUDIO := true | ||
BOARD_USES_LEGACY_ALSA_AUDIO := true | ||
QCOM_USBAUDIO_ENABLED := true | ||
TARGET_USES_QCOM_COMPRESSED_AUDIO := true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Bluetooth | ||
BOARD_HAVE_BLUETOOTH := true | ||
BOARD_HAVE_BLUETOOTH_QCOM := true | ||
BLUETOOTH_HCI_USE_MCT := true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Adreno driver | ||
OVERRIDE_RS_DRIVER := libRSDriver_adreno.so | ||
|
||
# Ion | ||
TARGET_USES_C2D_COMPOSITION := true | ||
TARGET_USES_ION := true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Qualcomm sepolicies | ||
include device/qcom/sepolicy/sepolicy.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# WiFi | ||
BOARD_HAS_QCOM_WLAN := true | ||
BOARD_WLAN_DEVICE := qcwcn | ||
BOARD_HOSTAPD_DRIVER := NL80211 | ||
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE) | ||
BOARD_WPA_SUPPLICANT_DRIVER := NL80211 | ||
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE) | ||
WIFI_DRIVER_FW_PATH_STA := "sta" | ||
WIFI_DRIVER_FW_PATH_AP := "ap" | ||
WPA_SUPPLICANT_VERSION := VER_0_8_X |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Device sepolicies | ||
BOARD_SEPOLICY_DIRS += \ | ||
$(DEVICE_PATH)/sepolicy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
[ | ||
{ | ||
"repository": "android_device_qcom_common", | ||
"target_path": "device/qcom/common" | ||
}, | ||
{ | ||
"repository": "android_device_sony_common", | ||
"target_path": "device/sony/common" | ||
}, | ||
{ | ||
"repository": "android_external_stlport", | ||
"target_path": "external/stlport" | ||
"repository": "android_device_qcom_common", | ||
"target_path": "device/qcom/common" | ||
}, | ||
{ | ||
"repository": "android_kernel_sony_msm8930", | ||
"target_path": "kernel/sony/msm8930" | ||
}, | ||
{ | ||
"repository": "android_external_stlport", | ||
"target_path": "external/stlport" | ||
} | ||
] |
Oops, something went wrong.