espresso3250: enable watchdog timer s/w reset
authorDongil Park <dongil01.park@samsung.com>
Thu, 16 Jun 2016 06:35:17 +0000 (15:35 +0900)
committerjino.cho <jino.cho@samsung.com>
Mon, 5 Dec 2016 08:04:24 +0000 (17:04 +0900)
This patch enables WTSR(Watchdog Timer S/W Reset) register at s2mps14 pmic
to support h/w reset.

Change-Id: Ib0e4ca8fb1959dc7f945c7d1d055369ae76cebe9
Signed-off-by: Dongil Park <dongil01.park@samsung.com>
board/samsung/espresso3250/espresso3250.c

index 5d7a35f2796bb2da7fa803f3e2d1259758e9108c..9a645e7babc732c1a014cc3e1ac70cf246246b8d 100644 (file)
@@ -509,6 +509,8 @@ int board_late_init(void)
        rst_stat = readl(&pmu->rst_stat);
        printf("rst_stat : 0x%x\n", rst_stat);
 
+       pmic_enable_wtsr();
+
 #if 0
        pressed_key = check_key();
 #endif