scripts: Try to fix building under Darwin...

Fix these...
stat: illegal option -- c
usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]
stat: illegal option -- c
usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]
stat: illegal option -- c
usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]
stat: illegal option -- c
usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]
Revert "scripts: Try to fix building under Darwin..."

This reverts commit 001bf8fab053ebfb880f205eac8f7ab32fd38462.
Screw that, installing GNU stat is easier :)
ARM: zImage: no need to get the decompressed size from the filesystem

In commit d239b1dc093d the hardcoded 4x estimate for the decompressed
kernel size was replaced by the exact Image file size and passed to
the linker as a symbol value.  Turns out that this is unneeded as the
size is already included at the end of the compressed piggy data.
For those compressed formats that don't include this data, the build
system already takes care of appending it using size_append in
scripts/Makefile.lib.  So let's use that instead.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Tony Lindgren <tony@atomide.com>
Parse old bootloader tags without hacking arm kernel setup code.
star: Cleanup the tegra atag parser and use it instead of hardwired values
f_mass_storage: Adjust UMS product names for each star variant
muic: Change max14526/muic interaction a bit

call the detection hook explicitly whenever there's a mode change
tspdrv: Add timed interface

For simpler compatibility with the standard Android vibration code
star-kbc: Remove HOME key from devices in which it isn't a button

In other words... leave it enabled only for the SU660
Move x86_64 idle notifiers to generic

Move the x86_64 idle notifiers originally by Andi Kleen and Venkatesh Pallipadi to generic.

Change-Id: Idf29cda15be151f494ff245933c12462643388d5
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
ARM: Call idle notifiers

Change-Id: Id833e61c13baa1783705ac9e9046d1f0cc90c95e
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
ARM: Move leds idle start/stop calls to idle notifiers

Change-Id: I5d8e4e85b17bbab7992ecb477f0bdb5e4138b166
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
cpufreq interactive governor: Unify attribute store functions

Change our added attributes' store functions to Google style

Change-Id: I5dc641112085698918e87b52378fe3a5bfe44360
Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-on: http://git-master/r/84452
Reviewed-by: Satya Popuri <spopuri@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
cpufreq: interactive: use idle notifier

Convert interactive governor to use idle notifier instead of hooking pm_idle directly.

Change-Id: I47e007f330468ac559240a0ae8a3cb06a89ccb67
Signed-off-by: Allen Martin <amartin@nvidia.com>
cpufreq: interactive: remove debug trace code

Remove debug trace code in preparation of upstreaming

Change-Id: I0905885e75031f5e9d7cb06878fb68c1fd06d4fe
Signed-off-by: Allen Martin <amartin@nvidia.com>
Remove CONFIG_DYNAMIC_FREQ_MODE.

Just unnecessary bloat.
cpufreq: Backport Android 3.0 interactive governor

Bring some features of the Android 3.0 interactive governor to Tegra

commits taken in this change:

2e21b68cd68be556224aee775f67fbbb5d6870a6
5d61d3a6e2103801565048202999423657b4430a
c2ad521b982d949c5dfabe5ff257bb4f33ca8b51
4e3800ea447962106a962f5279ea508edd6ca160
fd8bc3774515bc6d2af3dfe567f902098cb0dea8
1c41e01a514bc6b5136fd9040bed5137cfd712a8
e661e9ba37039c77f8e1faaa231d810f12ac0790
96cd2509c44a74039022ce6de382bcec5267331d
eb5a34275e731c26cd15570f73796a0dc05c584a

Change-Id: I797b1eec4cf78f42509b05446b02de7c1272e6fb
Signed-off-by: satya popuri <spopuri@nvidia.com>
Fix some compile issues
cpufreq: interactive: add boost pulse interface

Change-Id: Icf1e86d2065cc8f0816ba9c6b065eb056d4e8249
Signed-off-by: Todd Poynor <toddpoynor@google.com>
cpufreq: interactive: add boostpulse duration

from http://review.cyanogenmod.com/#/c/24324/
by Daniel Bateman <jetison.24@gmail.com>

This makes up for the portions missing that would've been written
by Narayanan Gopalakrishnan but they were missing (duration, and boost
time) and also adds the ability to set duration (which was originally
created by cyanogen)

Change-Id: I8aadc9a70501862c78e153608f39c6e02746083b