[U-Boot] [PATCH 0/3] ARM: sunxi: Fix reset support on sun6i/sun8i

Chen-Yu Tsai
2014-10-04T12:37:25Z

Hi,

This series fixes support for the reset command on sun6i/sun8i.
The watchdog hardware has changed in sun6i, both the register
addresses and definitions. This makes the reset command unusable
on sun6i.

Patch 1 moves the watchdog register definitions into a separate
file. The rationale behind this is that on sun6i, the watchdog
is effectively a separate piece of hardware and not part of the
timer.

Patch 2 fixes the register definitions for sun6i, most importantly
the watchdog offsets.

Patch 3 adds the sun6i version of reset via watchdog timeout.

I intended to submit this series after the basic sun8i series.
It just so happens that I forgot to leave my A23 tablet on at the
office, hence I won't be able to test that series until next week.

Since this series has no dependencies nor conflicts, I decided to
send this one first.

Cheers
ChenYu

Chen-Yu Tsai (3):
ARM: sunxi: Move watchdog register definitions to separate file
ARM: sunxi: Add sun6i/sun8i timer block register definition
ARM: sunxi: Fix reset command on sun6i/sun8i

arch/arm/cpu/armv7/sunxi/board.c | 15 ++++++++++
arch/arm/include/asm/arch-sunxi/timer.h | 23 ++++++----------
arch/arm/include/asm/arch-sunxi/watchdog.h | 44 ++++++++++++++++++++++++++++++
3 files changed, 68 insertions(+), 14 deletions(-)
create mode 100644 arch/arm/include/asm/arch-sunxi/watchdog.h

--
2.1.1