Overal codebase cleanup

This patch tries to improve concistency and cleans up things to make
checkpatch happy. (Except while errors :S )

Signed-off-by: Oliver Schinagl <oliver@schinagl.nl>
Less magic for the watchdog timer

This started out as a cleanup of the wdt to remove some magic values but
turned into somewhat of a rewrite and relocate patch.

The only big change and 'gotcha' is that you actually use a watchdog
time of 0 now. Allwinner made 0 to be 0.5 seconds, the fastest followed
by 1 for etc. upto 16 seconds, the maximum. There are some gaps in the
allwinner tables, those timings are rounded up to nearest second up. To
disable the WDT anything above 16 suffices.

Signed-off-by: Oliver Schinagl <oliver@schinagl.nl>
Cleanup early-printk

Remove magic values and use defines

Signed-off-by: Oliver Schinagl <oliver@schinagl.nl>
sunxi: DRAM & CCM register dump debug functions

Signed-off-by: Luke Leighton <lkcl@lkcl.net>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
sunxi: Allwinner SUN7I (A20) support

add a20 dram setup

Supply para->tpr3 as phase argument to dll0 and dllx setup

create CONFIG_SUN7I

SUN7I is using the same MMC controller as SUN5I

Signed-off-by: Luke Leighton <lkcl@lkcl.net>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
add sun7i.h header

Cleanup sun7i config

Update my copyright

Signed-off-by: Luke Leighton <lkcl@lkcl.net>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
add eoma68-a20

use a10_meminfo_static values

Cleanup sun7i config

Signed-off-by: Luke Leighton <lkcl@lkcl.net>
Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net>
sunxi: Add A20-OLinuXIno board
Spelling correction
sunxi: Add status led to A20-OLinuXino board
Add A20 support to u-boot v2

This is a cleaned up version of luke's A20 patch set. Some patches where
reverted some cleaned up. No code changes where done.

Signed-off-by: Oliver Schinagl <oliver@schinagl.nl>
Overal codebase cleanup (A20 parts)

This patch tries to improve concistency and cleans up things to make
checkpatch happy. (Except while errors :S )

Signed-off-by: Oliver Schinagl <oliver@schinagl.nl>
A20 cleanup patch of v2

This patch should be merged with v1 + v2 as it 'fixes' and cleans some
missed bits and something that broke. Sorry.

Signed-off-by: Oliver Schinagl <oliver@schinagl.nl>