[rpi01] arm: Workaround potential hang in cpu_v6_do_idle

Entering WFI state with an outstanding instruction cache read in flight
can hang the ARM core, so you have to be very careful to preload the
region following the WFI into the cache before going to sleep. We do
this by going round a loop once with the mcr instructions conditionally
disabled before doing it for real.

Signed-off-by: popcornmix <popcornmix@gmail.com>
[rpi01] arm: Add disable function for the SP804

The SP804 on the BCM2835 is yet another variant and isn't required
as there's another free running counter available.

Add a function to allow it to be disabled.

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi01] bcm2708: Add BCM2708/BCM2835

Family: BCM2708
Model: BCM2835

Signed-off-by: popcornmix <popcornmix@gmail.com>
Signed-off-by: Dom Cobley <dc4@broadcom.com>
Signed-off-by: Simon Arlott <sa.me.uk>

bcm2708: Fix UART code in mach/uncompress.h
bcm2708: fix mach/debug-macro.S so that early printk works

Note that you need to boot the compressed kernel (zImage) so that the
UART is configured at boot, or your kernel will hang when it tries to
access the UART.

Signed-off-by: Chris Boot <bootc@bootc.net>

bcm2835: Add interrupt controller to device tree

Signed-off-by: Chris Boot <bootc@bootc.net>
Signed-off-by: Simon Arlott <sa.me.uk>

bcm2835: Add UART0 and UART1

Add the AMBA PL011 serial console device.
Also add the 16550-like UART1 (but disabled as we don't need it).

bcm2835: Add frame buffer display

Signed-off-by: popcornmix <popcornmix@gmail.com>
Signed-off-by: Dom Cobley <dc4@broadcom.com>
Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] bcm2708_wdog: Add watchdog

Variable timeout watchdog (1 to 16 seconds).

This is required to be able to reboot (using a 150us timeout).

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] bcm-mbox: Add Broadcom VideoCore mailbox driver

Quite an interesting interface... with a very small message size

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] bcm2708_fb: Add support for frame buffer display

Signed-off-by: popcornmix <popcornmix@gmail.com>

reorganise to use device tree

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] video: Add Raspberry Pi logo

Signed-off-by: popcornmix <popcornmix@gmail.com>

Use logo_rpi_clut224 instead of overwriting logo_linux_clut224

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] bcm-bell: Add Broadcom VideoCore doorbell driver

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] bcm-vc-power: Add Broadcom VideoCore power driver

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] pinctrl-bcm2708: Add pinctrl/pinmux support

TODO: pinconf support

Signed-off-by: Simon Arlott <sa.me.uk>

Rewrite including GPIO chip device

Signed-off-by: Chris Boot <bootc@bootc.net>
[rpi02] spi-bcm2708: SPI driver for bcm2708

This is an SPI driver for the BCM2708 platform including the BCM2835 as
used in the Raspberry Pi.

Thanks to csoutreach / A Robinson for his driver which I used as an
inspiration. You can find his version here:

http://piface.openlx.org.uk/raspberry-pi-spi-kernel-driver-available-for

Signed-off-by: Chris Boot <bootc@bootc.net>
[rpi02] i2c-bcm2708: BCM2708 I2C driver

Signed-off-by: Chris Boot <bootc@bootc.net>
[rpi02] list: add list_last_entry

Signed-off-by: Simon Arlott <sa.me.uk>
[rpi02] bcm2708_dma: Add Broadcom BCM2708 DMA engine driver

Supports MEMCPY, MEMSET, INTERRUPT, SLAVE, SG, CYCLIC, INTERLEAVE

The hardware can also do simple INTERLEAVE backwards in either
direction.

Signed-off-by: Simon Arlott <sa.me.uk>