Revert "tuna: Enable use of FFMPEG codecs for extended formats"

This reverts commit 44350c4ee4413aebb29c94b80fb37b997a657870.
tuna: add ffmpeg codecs

Change-Id: I7238b699a69f8ebb8b8b7aa70d359936653a56fc
Revert "Include specialized copy of libskia for playback of Saved Webpages."

This reverts commit 6eae0292a8aa7a2374f35ebb8a9de801c9421761.

Deprecated in kitkat.

Change-Id: I70fd8284465491f3eadcdc1b595b9de27d7f200d
Refactor device tree

It's quite a mess right now - this commit makes it a lot cleaner.

Included changes:
- Introduce the DEVICE_FOLDER variable to make paths more readable
- Reorganize makefiles
- Remove obsolete recovery.fstab file

Change-Id: I0fe2d9994afe44207b267e60e237c9c997aa6e72

Conflicts:
	BoardConfig.mk
	device.mk
tuna: Fix sensors for KitKat+ in a more appropriate manner.

Change-Id: I13f3d62a4022b2c6796c101dc9a5024966485159
Signed-off-by: Kyle Repinski <repinski23@gmail.com>
tuna: Add ambient temperature sensor.

This leverages the BMP180's ability to sense the temperature.

Requires kernel change, but there are no adverse side-effects without the kernel change.

Change-Id: Ibe2228d0ab30775556acb0a034f7f0904ed1b0b7
Signed-off-by: Kyle Repinski <repinski23@gmail.com>
dedupe soft video codecs

Remove superfluous ffmpeg decoders for codecs that can be handled
by OMX.google

Change-Id: Ib3648ab85a1df096bc94b8809eaec8f80687984d
Signed-off-by: Dan Trifan <jimsth@gmail.com>
tuna: Add audio submix, enable WFD

Fixes Chromecast streaming!

Change-Id: Iae2ce082d45f91997b58df8284b25efb66aa67e4
Signed-off-by: Kyle Repinski <repinski23@gmail.com>
tuna: no need to disable preloading of EGL drivers

Change-Id: Ia5ac4ee58bc27b3bddd23e1ecb9fcf6a0be46f8d
tuna: enable KSM by default

Change-Id: Ica530b585fb9ec4c2f37dfb21cad5d06ce2b8b37
tuna: support performance profiles

powersave: 307mhz gpu
balanced: 384mhz gpu
performance: 512mhz gpu + 920mhz hispeed_freq (instead of the default 700mhz)

Change-Id: I4d3c9162599e18294130d8fb1c6a7437d201d9b0
default: balanced
tuna: remove screen timeout overlay

Change-Id: I91fafab5886d7022c24d5d966f521ea11d35ba14
tuna: cmhw: add support for adaptive backlight

Change-Id: I638d313afbee50484dbe53e35808b0cbe3262cbc
tuna: recovery: protect important partitions

Formatting /factory, /boot, /sbl or /xloader is pointless and dangerous.

Change-Id: I32980c57a71e6f7e7bed761379ce157a035ffaf7
tuna: commonize what we can (1/4)

board-info.txt, bluetooth device name, ro.bq.gpu_to_cpu_unsupported.

Change-Id: I151ba8a7bd0c9b2a0ccf23fc97935bd63702047d
tuna: dexopt /system apps to /cache

Change-Id: Ia1c3b2fe6426c6623d82b787614919a3dde0aa87
Revert "tuna: dexopt /system apps to /cache"

This reverts commit 0836920f4372a70806c9c69cd966e985cf29670d.

Change-Id: Ic6531596513e958cccbeef787bdd139b77610d66
tuna: PowerHAL: Change obsolete designated initializers syntax

Designated initializers syntax which is used to initialize
HAL_MODULE_INFO_SYM is obsolete since GCC 2.5:
http://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html

This patch changes syntax to usual one.

Cherry-picked from http://omapzoom.org/?p=device/ti/blaze_tablet.git;a=commit;h=361e9eab2dd455588327612c31623396725fdb1a

Change-Id: I7ed930bd6cf0f44f1503947c9abbc93a9ef99821
tuna: PowerHAL: Check that PowerHAL is successfully initialized

It doesn't make any sense to do something if PowerHAL
couldn't setup initial parameters successfully.

Cherry-picked and adjusted for tuna from
http://omapzoom.org/?p=device/ti/blaze_tablet.git;a=commit;h=5b250f0dbc8fa43f8ff9e45151730b5b733c5ed0

Change-Id: I4e87f6b7be53e52f21f02cc500c8a1096f70df5f
tuna: PowerHAL: Define constants for CPUfreq paths

Same CPUfreq paths are used many times in the code.
This patch defines constants for them.

Cherry-picked and adjusted for tuna from
http://omapzoom.org/?p=device/ti/blaze_tablet.git;a=commit;h=f5ee7ba155978bd9e547c079b521a1a249bdefab

Change-Id: I07519ad70a2f243c6fe68b26dc8b409e6223772e