]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: Fix watchdog reset function for R40
authorChen-Yu Tsai <wens@csie.org>
Wed, 30 Nov 2016 08:27:14 +0000 (16:27 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 20 Apr 2017 11:30:00 +0000 (13:30 +0200)
commit6c7ae2bfc9f052b89c4a874842a6f44cc2e1f0a9
tree915646f90fc9a745fafaefc84b89fe58953742d9
parent409677ec1706c1374f9ce5e1833ae425dd0a9602
sunxi: Fix watchdog reset function for R40

The watchdog found on the R40 SoC is the older variant found on the A20.
Add the proper "#if defines" to make it work.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/include/asm/arch-sunxi/timer.h
arch/arm/include/asm/arch-sunxi/watchdog.h
arch/arm/mach-sunxi/board.c