Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • maxims@google.com's avatar
    99f8ad73
    aspeed: Refactor AST2500 RAM Driver and Sysreset Driver · 99f8ad73
    maxims@google.com authored
    
    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>
    99f8ad73
    History
    aspeed: Refactor AST2500 RAM Driver and Sysreset Driver
    maxims@google.com authored
    
    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>