Initial qcom/common
init: Add MSM-specific init extension library

Implement MSM-specific initialization during boot up
at "init" stage.  This allows variable setting based
on runtime query of hardware configuration.

Change-Id: Id14293a9f030d6631c55e84498f503a5bcb818e2
init: set hdmi node permissions during initialization

- Add functions to setPermission and setOwner for file nodes
- Set hdmi node permissions based on fb number.

Change-Id: I57babd7aa8387d35860ad66892dd0c21ca35c135
init_msm8960: Overwrite ro.opengles.version for 8960

Overwrite the ro.opengles.version property with 0x2000.
This change is specific to 8960 Classic, which can only
support upto Open GLES vesion 2.0

This change fixes the CTS test failure
android.opengl.cts.OpenGlEsVersionTest

CRs-Fixed: 575502

Change-Id: I7e90ddde44fef596d1446e6f1acfe7070ef9337b
Coredump :Add coredump support for processes

This change will set-up the core-dump directory and the core-file
pattern. The coredumps will not be generated during crashes on
boot-up. The core-dumps will only be generated on crashes after the
boot-up.

Change-Id: Ie8c15f500aa871b7b06913e70d0076656834b319
init: Update lcd density setting for APQ8084

Use correct LCD density and softkey enable setting
for APQ8084.

Change-Id: I0ba8bc5d69981224c2dcdb314926a11d9f6a85eb
init_msm: use qemu.hw.mainkeys instead of ro.hw.nav_keys

Android removed support for ro.hw.nav_keys property to enable/disable
the virtual keys on the target, hence just use qemu.hw.mainkeys.

Change-Id: Ieb700313ea49a32ed98f80e3e8cce9ab9e07624b
Add hook for target specific libinit defines

Set TARGET_LIBINIT_DEFINES_FILE := path to your file in BoardConfig
add soc 123 for MSM8260a for apexqtmo
Merge pull request #1 from nardholio/cm-11.0

add soc 123 for MSM8260a for apexqtmo
qcom/common: add dtbtool

This is a combination of 3 commits.

Author: David Ng <dave@codeaurora.org>
Date:   Fri Jul 27 23:52:11 2012 +0000

    dtbtool: Initial revision of table of device tree tool

    A tool to generate an image of table of device tree.  The image
    contains a header, table of device tree indices followed by the
    list of device tree blobs.

    Refer to dtbtool.txt for more information.

    Change-Id: Ib0d5f974cdb8a8fc341f01b5d086a5285b1d7dc5

Author: David Ng <dave@codeaurora.org>
Date:   Thu Aug 9 23:56:41 2012 +0000

    dtbtool: Add support for array of ID's in qcom,msm-id tag

    Allow multiple chipset/platform/soc_rev triplets in
    qcom,msm-id tag.  This allows one DTS/DTB file to be used
    for multiple chipset/platform/soc_rev variants.

    Preliminary version - needs error handling in triplet
    parsing and general code cleanup.

    Change-Id: Ic3d018c0667d1ec7189d6e14b3378effda00d781

Author: Duy Truong <dtruong@codeaurora.org>
Date:   Sun Feb 10 14:35:11 2013 +0000

    Update copyright to The Linux Foundation

    Change-Id: Id084b09bf3a083ea5c0389900bbeb5ef149b3108

Change-Id: I9efb55e1fc76e2e4e850d3853ff287715c43eee1
qcom-common: Fix dtbTool code formatting

Change-Id: I58e24893dcd0f5c27eb4f2a9e41a296d423591ba
common-qcom: Add PowerHAL

 * New PowerHAL for QCOM devices based on upstream.
 * Requires libqc-opt and mpdecision
 * Includes support for new audio hints
 * Includes hook for external set_interactive bits

Change-Id: Ib5c956fedd1a4aee591b409b1524e95624324480
common-qcom: Make QC PowerHAL opt-in

 * Set TARGET_POWERHAL_VARIANT=qcom to use this version.

Change-Id: Iedf6ab57611e90b75304a515f93678a9b85e32e1
common-qcom: enable custom module name extension

Change-Id: I34d141ec19c3f01e7404067db4cbd493b5865d3a
Merge "common-qcom: enable custom module name extension" into cm-11.0
qcom: Add crypto helper for ODE

Change-Id: I85c4fe21ac11c527b02bd1f9aa75eaf29457d251
dtbtool: add new --dt_tag switch

* Add new switch named --dt_tag (or -d)
* Allows a custom QCDT_DT_TAG
* If --dt_tag/-d is not used, it defaults to "qcom,msm-id =<" as it is today.

This should allow more flexibility with devices requiring various DT_TAGs going forward.

Change-Id: I6f6a9a55b3b94ce6103a4890b28792380fe1e274
init script: Add usergroup write permission to idle_time node.

Set usergroup write permission of idle_time node to enable idle
timeout feature.

Change-Id: If6b0a94e93b5117c4004726d62a346403f7a8ed3
CRs-Fixed: 610823
dtbtool: simplify code. reducing indenting.

this tidy is in preparation for adding a stat call
instead of relying upon readdir.

Change-Id: Ibdc28c43218e2c67434a4580c61b91162e1169a6