Subject: [PATCH 1/3] arm/dt: Add Pandaboard devicetree support

Enable basic device tree support on Pandaboard

Signed-off-by: Grant Likely <grant.likely@linaro.org>
config introduce omap4_defconfig

Signed-off-by: Andy Green <andy.green@linaro.org>
config TPS62361

Signed-off-by: Andy Green <andy.green@linaro.org>
introduce linaro test status

Signed-off-by: Andy Green <andy.green@linaro.org>
omap dss2 dont die on null driver for display

Signed-off-by: Andy Green <andy.green@linaro.org>
config remove libertas

Signed-off-by: Andy Green <andy.green@linaro.org>
DRM: solve __linux__ missing on some toolchains

An ifdef in drm.h expects to be compiled with full-fledged Linux
toolchain, but it's common to compile kernel with just bare-metal
toolchain which doesn't define __linux__. So, also add __KERNEL__
check.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
kbuild: Introduce -D__linux_kernel__ to indicate building of the Linux kernel

The __linux__ macro is defined by gcc to indicate that the compiler
is configured for a target running Linux.  However, it also makes
sense to use a bare-metal-targeted compiler to build the kernel,
particularly when cross-building.  Such compilers won't (and
shouldn't) define __linux__.

Code which tests for __linux__ should only appear in code which
will never be built into the kernel, such as build-time tools and
some parts of userspace headers.

In general, it is reasonable for Linux to share some source code
with other projects which could predictably be using __KERNEL__ for
their own purposes.  This patch introduces a separate macro
__linux_kernel__ to help to disambiguate such cases.

Signed-off-by: Dave Martin <dave.martin@linaro.org>
acpi: avoid #ifdef __linux__ misuse in exportable headers

acpi: avoid #ifdef __linux__ misuse in exportable headers

Signed-off-by: Dave Martin <dave.martin@linaro.org>
coda: avoid #ifdef __linux__ misuse in exportable headers

Signed-off-by: Dave Martin <dave.martin@linaro.org>
ext2: avoid #ifdef __linux__ misuse in exportable headers

Signed-off-by: Dave Martin <dave.martin@linaro.org>
config PERF_EVENTS

Signed-off-by: Andy Green <andy.green@linaro.org>
config remove OMAP3 support add HW_PERF_EVENTS

HW_PERF_EVENTS is dependent on !ARCH_OMAP3 unfortunately...

Signed-off-by: Andy Green <andy.green@linaro.org>
scripts/package/builddeb: Support cross-building

Pay attention to the cross-building environment variables
used in the rest of the kernel build, so that you can
successfully make deb-pkg while cross-building.
usb: gadget: dummy_hcd: initialize max_streams early

While playing with uasp I noticed that it does not work with dummy_hcd.
The problem is that uasp requires a stream capable endpoint which it is
requesting at bind time like every other gadget. dummy_hcd however
initializes the max_stream value after connect once it knows if it runs
at SS or not.
I don't think that it is might be wrong to initialize the stream
capability even at HS speed. The gadget may not use this descriptor at
HS speed so it should not cause any damage.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
usb: gadget: dummy_hcd: move the transfer part into its own function

This patch moves the part of the code which does the bare transfer into
its function. It is a preparion for the implementation of sg support.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
usb: gadget: dummy_hcd: add sg support

This patch adds sg support to dummy_hcd. It seems that uas is not able
to work with a hcd which does not support sg only based transfers.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
usb: gadget: dummy_hcd: rename dummy_udc_udpate_ep0() to dummy_udc_update_ep0()

This renames a function so "update" is spelled properly.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
usb: gadget: dummy_hcd: make alloc/free streams static

There is no reason why dummy_alloc_streams() and dummy_free_streams()
are global. Make them static instead.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
usb: gadget: mv_udc: remove unneeded NULL check

We've dereferenced req already, and we checked for bogus parameters at
the start of the function.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>