init: define BOARD_CHARGING_CMDLINE parameters

Change-Id: I722e49e2a13418bf887c361c85e9d102168ca973
libcorkscrew buildfix for gcc 4.8

clearly gcc 4.8 is smarter than 4.7, so ignore it

Change-Id: I67c4c5e7c8d47ae4f9dfbe5c8d46a385a58ad933
Revert "init.rc: Create /storage mountpoint so Dalvik can mark as slave in zygotes"

No longer needed as Dalvik no longer marks /storage as slave in zygotes.

This reverts commit 4a8f70d11b225fbf56aca6e494f4de35fc727dc7.

Change-Id: I0bfb86f2cc10ccdc10daa7419ac4d252c8dfbae8
Merge tag 'android-4.3_r3.1' of https://android.googlesource.com/platform/system/core into cm-10.2

Android 4.3 Release 3.1
mkbootimg: Add --dt parameter to specify DT image

New optional --dt parameter to specify a kernel device
tree image.

Change-Id: I7e2c48c25c04165642eedadc3dc16a082dd99eb0
init: uevent: Add msm video symbolic link handling

Create meaningful symbolic links for video encode/decode
devices based on link_name sysfs node so that video client
doesn't have to rely on dynamic dev node names like device32,
device33 etc.

Change-Id: I70386351d83b8a7a7a690378870eee87f4c96983
Revert changes to main init.rc file

Move these to the CM init, there's no need to have them here.

Revert "rootdir: Set permissions for additional interactive sysfs nodes"

This reverts commit d4a936e3585a2a085a2edd0d6861201aa99b4817.

Revert "init: provide initial pemissions for ondemand governor"

This reverts commit bb23f09b4bc5996c88553dcb9857357c1b6516d8.

Revert "Allow 'system' user to modify cpufreq control files"

This reverts commit 2aaa54be95527144341e5fb82c67b2be7f06ac71.

Change-Id: I8889d6f6d3346cf7920bb3e8d5d52291d40d6b5e
Merge "mkbootimg: Add --dt parameter to specify DT image" into cm-10.2
Merge "init: uevent: Add msm video symbolic link handling" into cm-10.2
Merge "libcorkscrew buildfix for gcc 4.8" into cm-10.2
init: Do not build logo.c when initlogo is disabled

For now, logo.c was build even if TARGET_NO_INITLOGO was true.
Changing tty to KD_GRAPHICS is now done in init.c as it should be, when
the logo is not present.

Change-Id: Ifabd9aebc9c0ad8d6903e963dfac031a6dac32e1
init: Fix serial number display for semc msm7x30 devices

Add proper check since semc msm7x30 bootloader exports
"serialno" in cmdline instead of the standard androidboot.serialno,
so init doesn't pick it

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: Ib4e715fafc64dd47fb667aeb63a7307334cca844
toolbox: Add setfattr

Change-Id: I1981604f72d96c9ad38583f03f7f65df1ab865b7
mkbootimg: Add --dt parameter to specify DT image

New optional --dt parameter to specify a kernel device
tree image.

Change-Id: Idbd08906dc0a19935e08f21d331e6d042bcab87d
charger: Draw battery percentage over charger screen

Let user know the exact battery capacity.

Change-Id: Ie2abaeee0e443cd2a730780488287ad4d9ea1e9a
charger: Toggle backlight while in charger mode.

The backlight is now toggled on/off in the charger mode via a sysfs
node. This is to compensate for the fact that on certain targets the
FBIOBLANK ioctl does not turn off the backlight.

Change-Id: I7c4531e7f1b0599b9a1f5ed6f95d13ee6a664066
CRs-fixed: 514940
charger: support alarm in power off charging

To implement this feature need to let the phone reboot some time
earlier than the alarm time.

CRs-fixed: 540039
Change-Id: I5001631114994f5bc29313bbd52395c43f7c4810
charger: modify usb unplugged shutdown time in power off charging

Previous value for this feature is 10 secs which is too long,
and now change it to 2 secs.

CRs-Fixed: 535857
Change-Id: If1d74a25e00f897833092262c49a9a07d18c0674
charger: press power key to turn off charging animation

When charging animation is on, press power key to turn it off.

CRs-Fixed: 535893
Change-Id: Iaac536351426a09cb23c6d77ff3229a8901aaf70
charger: Fix arguments to gr_text

 * CWM's minui is oldschool, so comment this out for now.

Change-Id: If88d2df820b164fbb02ce6c40cba42de7880e86a