tuna: Add default value for display color control

Change-Id: I9616d66b8992a3abe360b83d10406c6b88e63de0

Conflicts:
	cmhw/org/cyanogenmod/hardware/DisplayColorCalibration.java
tuna: cmhw: add support for third-party kernel

Color & Gamma can be adjusted now on non-stock kernels.
Tested on maguro with Fancy, Franco & Mpokang kernel.

Change-Id: I398d29456fa15a67c1f4095eaf246ccea9e9f8d3
Signed-off-by: Lorenzo M <djmesias@yahoo.es>
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
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: no need to disable preloading of EGL drivers

Change-Id: Ia5ac4ee58bc27b3bddd23e1ecb9fcf6a0be46f8d
tuna: enable KSM by default

Change-Id: Ica530b585fb9ec4c2f37dfb21cad5d06ce2b8b37
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: 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
Fix device.mk derp

Change-Id: I3676b04cf8fd97e910ca1e9a8aae0c0df34521d0
Enable ArchiDroid build optimizations

Change-Id: I58dfacb725681a793e2d60263fc37dc340dbe03c
Switch kernel toolchain to 4.9 Sabermod

Change-Id: Iab2821c40f7215e9f803baf96f08cb55facad753