]> git.sur5r.net Git - u-boot/commit
ARM: sunxi: Fix reset command on sun6i/sun8i
authorChen-Yu Tsai <wens@csie.org>
Sat, 4 Oct 2014 12:37:28 +0000 (20:37 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 24 Oct 2014 07:35:38 +0000 (09:35 +0200)
commit78c396a1130a118d48068eb5615a912506050832
tree22810381c2c1adac4011628e947a91664564c6c9
parent4cdefba86d08688e96f273ee7bf9d52052362477
ARM: sunxi: Fix reset command on sun6i/sun8i

The watchdog on sun6i/sun8i has a different layout.

Add the new layout and fix up the setup functions so that reset works.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
[ ijc -- removed sun5i workaround from sun6i/sun8i codepath as discussed ]
arch/arm/cpu/armv7/sunxi/board.c
arch/arm/include/asm/arch-sunxi/watchdog.h