u-boot/arch/arm/mach-aspeed
maxims@google.com 99f8ad7321 aspeed: Refactor AST2500 RAM Driver and Sysreset Driver
This change switches all existing users of ast2500 Watchdog to Driver
Model based Watchdog driver.

To perform system reset Sysreset Driver uses first Watchdog device found
via uclass_first_device call. Since the system is going to be reset
anyway it does not make much difference which watchdog is used.

Instead of using Watchdog to reset itself, SDRAM driver now uses Reset
driver to do that.

These were the only users of the old Watchdog API, so that API is
removed.

This all is done in one change to avoid having to maintain dual API for
watchdog in between.

Signed-off-by: Maxim Sloyko <maxims@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-05-08 11:57:32 -04:00
..
ast2500 aspeed: Refactor AST2500 RAM Driver and Sysreset Driver 2017-05-08 11:57:32 -04:00
ast2500-board.c aspeed: Board init functions and common configs for ast2500 based boards 2017-01-28 14:04:32 -05:00
ast_wdt.c aspeed: Refactor AST2500 RAM Driver and Sysreset Driver 2017-05-08 11:57:32 -04:00
Kconfig aspeed: Refactor AST2500 RAM Driver and Sysreset Driver 2017-05-08 11:57:32 -04:00
Makefile aspeed: Board init functions and common configs for ast2500 based boards 2017-01-28 14:04:32 -05:00