Skip to content

Commit

Permalink
introducing 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bilalliberty committed Aug 13, 2013
1 parent a0eb2ea commit 3defa7d
Show file tree
Hide file tree
Showing 14 changed files with 1,711 additions and 77 deletions.
19 changes: 12 additions & 7 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,17 @@ TARGET_NO_BOOTLOADER := true
TARGET_NO_RADIOIMAGE := true
TARGET_BOOTLOADER_BOARD_NAME := villec2
BOARD_WANTS_EMMC_BOOT := true

TARGET_CPU_VARIANT := cortex-a9
TARGET_LEGACY_LPA := true
LOCAL_CFLAGS += LEGACY_LPA
# Kernel
BOARD_KERNEL_BASE := 0x48000000
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01400000
BOARD_KERNEL_PAGE_SIZE := 2048
TARGET_KERNEL_CONFIG := villec2_defconfig
TARGET_KERNEL_SOURCE := kernel/htc/villec2
TARGET_SPECIFIC_HEADER_PATH := device/htc/villec2/include

BOARD_KERNEL_CMDLINE := console=ttyHSL0 androidboot.hardware=villec2 no_console_suspend=1

# Board
Expand All @@ -52,9 +55,9 @@ TARGET_CPU_SMP := true
ARCH_ARM_HAVE_TLS_REGISTER := true
# Flags
COMMON_GLOBAL_CFLAGS += -DQCOM_HARDWARE
TARGET_QCOM_DISPLAY_VARIANT := false
TARGET_QCOM_DISPLAY_VARIANT := legacy
TARGET_QCOM_MEDIA_VARIANT := false
TARGET_QCOM_AUDIO_VARIANT := false
TARGET_QCOM_AUDIO_VARIANT := caf
# FB legacy
BOARD_EGL_NEEDS_LEGACY_FB := true

Expand All @@ -67,7 +70,7 @@ TARGET_SCORPION_BIONIC_PLDSIZE := 128
TARGET_SCORPION_BIONIC_PLDOFFS := 6
TARGET_GLOBAL_CFLAGS += -mfpu=neon -mfloat-abi=softfp
TARGET_GLOBAL_CPPFLAGS += -mfpu=neon -mfloat-abi=softfp

# TARGET_NEW_ION_API := true


# Bluetooth
Expand Down Expand Up @@ -113,6 +116,7 @@ BOARD_FLASH_BLOCK_SIZE := 262144

# Recovery
BOARD_HAS_NO_SELECT_BUTTON := true
TARGET_RECOVERY_FSTAB := device/htc/villec2/ramdisk/fstab.villec2

# Webkit
ENABLE_WEBGL := true
Expand All @@ -122,8 +126,8 @@ BOARD_USES_FLUENCE_INCALL := true
BOARD_USES_SEPERATED_AUDIO_INPUT := true

# Camera

TARGET_PROVIDES_CAMERA_HAL := false
USE_CAMERA_STUB := false
TARGET_PROVIDES_CAMERA_HAL := true
BOARD_NEEDS_MEMORYHEAPPMEM := true
COMMON_GLOBAL_CFLAGS += -DQCOM_BSP_CAMERA_ABI_HACK
COMMON_GLOBAL_CFLAGS += -DMR0_CAMERA_BLOB
Expand All @@ -137,7 +141,8 @@ BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16776192
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 838859776
BOARD_USERDATAIMAGE_PARTITION_SIZE := 1252770816
BOARD_FLASH_BLOCK_SIZE := 262144

TARGET_ENABLE_QC_AV_ENHANCEMENTS := true
RECOVERY_FSTAB_VERSION := 2
# Audio config


Expand Down
7 changes: 3 additions & 4 deletions device_villec2.mk
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ PRODUCT_COPY_FILES += \
device/htc/villec2/ramdisk/fstab.villec2:root/fstab.villec2 \
device/htc/villec2/ramdisk/init.villec2.rc:root/init.villec2.rc \
device/htc/villec2/ramdisk/init.villec2.usb.rc:root/init.villec2.usb.rc \
device/htc/villec2/ramdisk/ueventd.villec2.rc:root/ueventd.villec2.rc
device/htc/villec2/ramdisk/ueventd.villec2.rc:root/ueventd.villec2.rc \
device/htc/villec2/ramdisk/remount.villec2:root/remount.villec2



## recovery and custom charging
Expand All @@ -50,9 +52,6 @@ PRODUCT_COPY_FILES += \
# QC thermald config
PRODUCT_COPY_FILES += device/htc/villec2/configs/thermald.conf:system/etc/thermald.conf

# Some misc configuration files
PRODUCT_COPY_FILES += \
device/htc/villec2/vold.fstab:system/etc/vold.fstab

# Keylayouts and Keychars
PRODUCT_COPY_FILES += \
Expand Down
Loading

0 comments on commit 3defa7d

Please sign in to comment.