diff --git a/plat/intel/soc/common/drivers/wdt/watchdog.c b/plat/intel/soc/common/drivers/wdt/watchdog.c index b4dbe5f..0f89b4f 100644 --- a/plat/intel/soc/common/drivers/wdt/watchdog.c +++ b/plat/intel/soc/common/drivers/wdt/watchdog.c @@ -28,10 +28,10 @@ void watchdog_status(void) { if (mmio_read_32(WDT_CR) & 1) { - INFO("Watchdog Timer in currently enabled\n"); + INFO("Watchdog Timer is currently enabled\n"); INFO("Current Counter : 0x%x\r\n", mmio_read_32(WDT_CCVR)); } else { - INFO("Watchdog Timer in currently disabled\n"); + INFO("Watchdog Timer is currently disabled\n"); } } @@ -49,10 +49,5 @@ mmio_write_32(WDT_TORR, (cycles_i << 4) | cycles_i); - watchdog_enable(); -} - -void watchdog_enable(void) -{ mmio_write_32(WDT_CR, WDT_CR_RMOD|WDT_CR_EN); } diff --git a/plat/intel/soc/common/drivers/wdt/watchdog.h b/plat/intel/soc/common/drivers/wdt/watchdog.h index 9410242..2c72463 100644 --- a/plat/intel/soc/common/drivers/wdt/watchdog.h +++ b/plat/intel/soc/common/drivers/wdt/watchdog.h @@ -32,7 +32,6 @@ void watchdog_init(int watchdog_clk); -void watchdog_enable(void); void watchdog_info(void); void watchdog_status(void); void watchdog_sw_rst(void);