ARM: sunxi: Basic Allwinner A10/A13 (sun4i/sun5i) support

This adds support for the Allwinner A10/A13 SoC's. Additionally
board support for the dev-boards sun4i/sun5i is added.

Signed-off-by: Tom Cubie <tangliang@allwinnertech.com>
Signed-off-by: Henrik Nordström <henrik@henriknordstrom.net>
Signed-off-by: Stefan Roese <sr@denx.de>
ARM: sunxi: MMC driver

This adds a basic MMC driver for Allwinner sun4i/sun5i family of SoC
this driver is limited to a single MMC channel.

Signed-off-by: Tom Cubie <tangliang@allwinnertech.com>
Signed-off-by: Henrik Nodstrom <henrik@henriknordstrom.net>
Signed-off-by: Stefan Roese <sr@denx.de>
ARM sunxi: I2C driver

A basic basic driver for the I2C controller found in Allwinner
sunXi (A10 & A13) SoCs.

Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
Signed-off-by: Stefan Roese <sr@denx.de>
ARM: sunxi: watchdog support

This adds support for the hardware watchdog in Allwinner
sun4i & sun5i (sunxi) SoC familiy.

From: Henrik Nordstrom <henrik@henriknordstrom.net>

Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
Signed-off-by: Stefan Roese <sr@denx.de>
power: Add AXP209 Power Management controller (I2C)

This adds support for AXP209 Power Management controller,
used by most sunxi (Allwinner A10/A13) based boards.

From: Henrik Nordstrom <henrik@henriknordstrom.net>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
Signed-off-by: Stefan Roese <sr@denx.de>
ARM sunxi: Basic GPIO driver

GPIO driver for Allwinner sun4i/sun5i family of SoCs

GPIO Pins are named by their symbolic pin names P<g><#>
such as PH19 or H19.

Note: This do not perform any validation if the pin is in use
for some other I/O function. Use with care.
tools: mksunixboot adding a Allwinner boot header

This tool adds a boot header to the supplied file, for booting
code directly from the SoC embedded boot rom. Needed for making
the SPL loader bootable.

From: Tom Cubie <Mr.hipboi@gmail.com>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
Signed-off-by: Stefan Roese <sr@denx.de>
net: Add sunxi (Allwinner) wemac driver

This patch adds support for the WEMAC, the ethernet controller included
in the Allwinner A10 SoC. It will get used in the upcoming A10 board
support.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>

net sunxi_wemac. Use sunxi gpio pinmux API to configure MII pins

net wemac: Implement PHY addressing
ARM: sun4i: Enable ethernet support (wemac) on A10 boards

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
sunxi: Add more network commands and netconsole support
ARM: sunxi: U-Boot SPL capable of booting directly from MMC

Allwinner sunxi family of SoCs boots from MMC0/NAND/NOR/MMC2 loading
boot code into an embedded 32KB SRAM.

This patch adds support for booting u-boot SPL from MMC0

We first initializes the console UART, then DRAM controller with board
specific DRAM configuration details, configure CPU core voltage and
clocks before loading the full u-boot image into DRAM.

From: Henrik Nordstrom <henrik@henriknordstrom.net>
Signed-off-by: Tom Cubie <tangliang@allwinnertech.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
ARM sunxi: SPL support for Olimex A13-OLinuXino board

Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
ARM sunxi: SPL support for Mele A1000 board

Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
ARM sunxi: SPL support for Cubieboard board

From: Henrik Nordstrom <henrik@henriknordstrom.net>
Signed-off-by: Alejandro Mery <amery@geeks.cl>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
Signed-off-by: Stefan Roese <sr@denx.de>
ARM sunxi: SPL support for Hackberry 1GB board

From: Henrik Nordstrom <henrik@henriknordstrom.net>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
Signed-off-by: J M <mtx512jm@gmail.com>
ARM sunxi: SPL support for a13_mid board

From:    Jari Helaakoski <tekkuli@gmail.com>
Signed-off-by: Jari Helaakoski <tekkuli@gmail.com>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
ARM sunxi: SPL support for Mini-X board

From: Jari Helaakoski <tekkuli@gmail.com>
Signed-off-by: Jari Helaakoski <tekkuli@gmail.com>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
ARM sunxi: SPL support for hyundai A7HD board

Signed-off-by: Luc Verhaegen <libv@skynet.be>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
Signed-off-by: Stefan Roese <sr@denx.de>
ARM sunxi: SPL support for MK802 board

From: Sergey Lapin <slapin@ossfans.org>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
ARM sunxi: SPL support for Rikomagic MK802II board

From: j <j@mailb.org>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>