Skip to content
Snippets Groups Projects
Commit 99f8ad73 authored by maxims@google.com's avatar maxims@google.com Committed by Tom Rini
Browse files

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: default avatarMaxim Sloyko <maxims@google.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent c93adc08
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment