UBUNTU: OMAP4: rename Panda audio card

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
Revert "OMAP: HSMMC: Track regulator enabled locally"

This reverts commit a3df42492aa8c216e83ca9dd5f537c24de0089a8.
OMAP HSMMC Force enable attempt so that we can call disable

This reverts commit 4cc9ecff8ed1912ea679dc71b03a32045d88946a.
UBUNTU: Revert "ASoC: dapm: Remove SND_SOC_DAPM_MICBIAS_E()"

This reverts commit 5fc9aced13ae4bca67408816908be75684c1e7ba.
UBUNTU: Initial Debianization

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
KBuild: Allow scripts/* to be cross compiled

Cross compiling the binaries in scripts/* is not possible
because various makefiles assume that $(obj)/whatever is
executable on the build host.

This patch introduces a new variable called KBUILD_SCRIPTROOT
that points to script/binaries to use while cross compiling.

Usage:

Build scripts for the build host:
	make O=path/to/buildhost/buildscripts \
		silentoldconfig prepare scripts
Then cross build script for target:
	make O=path/to/target/buildscripts \
		HOSTCC=$CROSS_COMPILE \
		KBUILD_SCRIPTROOT=path/to/buildhost/buildscripts
		silentoldconfig prepare scripts

This patch does not use KBUILD_SCRIPTROOT for all script invocations
it only redefines the following if KBUILD_SCRIPTROOT is defined.

scripts/Makefile.build
	scripts/basic/fixdep --> $(KBUILD_SCRIPTROOT)/scripts/basic/fixdep

scripts/kconfig/Makefile
	$(obj)/conf --> $(KBUILD_SCRIPTROOT)/scripts/kconfig/conf

scripts/mod/Makefile
	$(obj)mk_elfconfig --> $(KBUILD_SCRIPTROOT)/scripts/mod/mk_elfconfig

Signed-off-by: John Rigby <john.rigby@linaro.org>
LINARO: Use KBUILD_SCRIPTROOT to cross build scripts

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: add omap_drv.h and omap_drm.h to linux-headers-<abi>-omap4

Add sym link for omap_drm.h and omap_drv.h in include/linux
Force delivery of the 2 files into drivers/staging/omapdrm

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: SAUCE: [arm] fixup __aeabi_uldivmod undefined build error

When building on arm we run into the following build error due to
gcc-4.6 optimizing do_div into a uldivmod call:

ERROR: "__aeabi_uldivmod" [drivers/scsi/megaraid/megaraid_sas.ko] undefined!

Inline some assembly to prevent the compiler optimization.

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
UBUNTU: exclude crypto-modules and sata-modules from udeb

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: Config update

* K3.4
* Enable RPMSG
* Enable VIRTIO
* Config update vs 3.3.0-1482.3

Signed-off-by: Xavier Boudet <x-boudet@ti.com>

Config updates

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: disable EETI touchscreen

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: Disable EZX_PCAP

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: Disable SENSORS_AK8975

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: Disable LIS3L02DQ

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: config add STM

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: config add SCM and TEMP_SENSOR

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: Config disable CPU_IDLE

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: Config RPMSG

Signed-off-by: Xavier Boudet <x-boudet@ti.com>
UBUNTU: Config: set cpu-freq governors as static

Signed-off-by: Sebastien Jan <s-jan@ti.com>