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>
20 lines
432 B
Plaintext
20 lines
432 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_ASPEED=y
|
|
CONFIG_ASPEED_AST2500=y
|
|
CONFIG_TARGET_EVB_AST2500=y
|
|
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
|
CONFIG_PRE_CONSOLE_BUFFER=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="ast2500-evb"
|
|
CONFIG_PRE_CON_BUF_ADDR=0x1e720000
|
|
# CONFIG_DISPLAY_CPUINFO is not set
|
|
# CONFIG_CMD_IMLS is not set
|
|
CONFIG_REGMAP=y
|
|
CONFIG_CLK=y
|
|
CONFIG_RAM=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_SYSRESET=y
|
|
CONFIG_TIMER=y
|
|
CONFIG_WDT=y
|
|
CONFIG_DM_RESET=y
|