diff options
author | Joel Stanley <joel@jms.id.au> | 2017-06-26 21:03:30 +0930 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2017-06-26 22:20:03 +0930 |
commit | f8161aba476e554680285c177caceb90bf3d2f2a (patch) | |
tree | 49a9b442f284044ac8c4bfc11bf3a7982a47e22f /arch/arm/mach-aspeed/reset.c | |
parent | ed9e4abbf3f0aab348bc64d5439aadda03f42e4c (diff) | |
download | blackbird-obmc-uboot-f8161aba476e554680285c177caceb90bf3d2f2a.tar.gz blackbird-obmc-uboot-f8161aba476e554680285c177caceb90bf3d2f2a.zip |
aspeed: Add defines for all watchdogs
This adds defines for WDT2 (and WDT3 for the ast2500), and renames the
existing one to WDT1.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/mach-aspeed/reset.c')
-rw-r--r-- | arch/arm/mach-aspeed/reset.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-aspeed/reset.c b/arch/arm/mach-aspeed/reset.c index b4d8c40623..1a44b3ae3a 100644 --- a/arch/arm/mach-aspeed/reset.c +++ b/arch/arm/mach-aspeed/reset.c @@ -9,9 +9,9 @@ void reset_cpu(ulong addr) { - __raw_writel(0x10 , AST_WDT_BASE+0x04); - __raw_writel(0x4755, AST_WDT_BASE+0x08); - __raw_writel(0x3, AST_WDT_BASE+0x0c); + __raw_writel(0x10 , AST_WDT1_BASE+0x04); + __raw_writel(0x4755, AST_WDT1_BASE+0x08); + __raw_writel(0x3, AST_WDT1_BASE+0x0c); while (1) /*nothing*/; |