diff options
author | maxims@google.com <maxims@google.com> | 2017-04-17 12:00:26 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-08 11:57:32 -0400 |
commit | 99f8ad7321fb9bbfbaff870a53b005d36a723b1f (patch) | |
tree | f0b28978c63b54a83e50db449cf421c6f5224296 /configs/evb-ast2500_defconfig | |
parent | c93adc08f393bc401c5929e1045d72dfbea3e126 (diff) |
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>
Diffstat (limited to 'configs/evb-ast2500_defconfig')
-rw-r--r-- | configs/evb-ast2500_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/evb-ast2500_defconfig b/configs/evb-ast2500_defconfig index cc5fea9a81..74808a71ee 100644 --- a/configs/evb-ast2500_defconfig +++ b/configs/evb-ast2500_defconfig @@ -15,3 +15,5 @@ CONFIG_DM_SERIAL=y CONFIG_SYS_NS16550=y CONFIG_SYSRESET=y CONFIG_TIMER=y +CONFIG_WDT=y +CONFIG_DM_RESET=y |