summaryrefslogtreecommitdiffstats
path: root/include/configs
diff options
context:
space:
mode:
authorMykola Kostenok <c_mykolak@mellanox.com>2017-05-24 18:28:20 +0300
committerJoel Stanley <joel@jms.id.au>2017-06-26 22:20:18 +0930
commita5e0a21ed4b62ab4d8ff09f70b751db0f46ddaac (patch)
tree8e47ab4be172afe3c68eb5cc4694a9e97b203f43 /include/configs
parentf8161aba476e554680285c177caceb90bf3d2f2a (diff)
downloadblackbird-obmc-uboot-a5e0a21ed4b62ab4d8ff09f70b751db0f46ddaac.tar.gz
blackbird-obmc-uboot-a5e0a21ed4b62ab4d8ff09f70b751db0f46ddaac.zip
aspeed: Add WD2 reset support for ast-g5
Add support for WATCHDOG_RESET macro for aspeed g5 boards. With this change we can have the watchdog enabled from boot but also have u-boot pat the watchdog when dropping to the console. Signed-off-by: Mykola Kostenok <c_mykolak@mellanox.com> [joel: tweaked commit message, fixed defines] Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/ast-g5-ncsi.h2
-rw-r--r--include/configs/ast-g5-phy.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/ast-g5-ncsi.h b/include/configs/ast-g5-ncsi.h
index f73a8f1150..12d6684551 100644
--- a/include/configs/ast-g5-ncsi.h
+++ b/include/configs/ast-g5-ncsi.h
@@ -26,4 +26,6 @@
/* platform.S settings */
#define CONFIG_DRAM_ECC_SIZE 0x10000000
+#define CONFIG_HW_WATCHDOG
+
#endif /* __AST_G5_NCSI_CONFIG_H */
diff --git a/include/configs/ast-g5-phy.h b/include/configs/ast-g5-phy.h
index 9b10d06212..62ddb841e5 100644
--- a/include/configs/ast-g5-phy.h
+++ b/include/configs/ast-g5-phy.h
@@ -14,6 +14,8 @@
#define CONFIG_ARCH_AST2500
#define CONFIG_SYS_LOAD_ADDR 0x83000000
+#define CONFIG_HW_WATCHDOG
+
#include <configs/ast-common.h>
/* arm1176/start.S */
OpenPOWER on IntegriCloud