diff options
author | Itamar <itamar.gold@mediatek.com> | 2015-07-31 17:10:46 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-01-22 19:31:06 +0100 |
commit | f585af395d3b88d7a415453e2f2d532797f3962c (patch) | |
tree | 35732372d51b0344d8e93a38f91c566e347b0d51 /src/soc/mediatek/mt8173/bootblock.c | |
parent | ab0df6d5a4c597db09a65043d1e5f9834cce4f9b (diff) | |
download | coreboot-f585af395d3b88d7a415453e2f2d532797f3962c.tar.xz |
mediatek/mt8173: add watchdog driver
[pg: split original commit into multiple commits]
Change-Id: I0dc8d9855c98c077d4a47227de0c504c3a846953
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 2827aa08ff8712c0245a22378f3ddb0ca054255d
Original-Change-Id: I94a9ee2c00e25a37a92133f813d0cd11a3503656
Original-Signed-off-by: Yidi Lin <yidi.lin@mediatek.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/292662
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/13050
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/soc/mediatek/mt8173/bootblock.c')
-rw-r--r-- | src/soc/mediatek/mt8173/bootblock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8173/bootblock.c b/src/soc/mediatek/mt8173/bootblock.c index 9b064707ec..0b6d1ea979 100644 --- a/src/soc/mediatek/mt8173/bootblock.c +++ b/src/soc/mediatek/mt8173/bootblock.c @@ -16,6 +16,7 @@ #include <bootblock_common.h> #include <soc/mt6391.h> #include <soc/pll.h> +#include <soc/wdt.h> void bootblock_soc_init(void) { @@ -26,4 +27,7 @@ void bootblock_soc_init(void) /* post init pll */ mt_pll_post_init(); + + /* init watch dog, will disable AP watch dog */ + mtk_wdt_init(); } |