mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 20:25:21 +08:00
@@ -23,9 +23,9 @@ void bsp_reset(void)
|
||||
imx_uart_console_drain();
|
||||
|
||||
pcr = (volatile uint16_t *) 0x30280000;
|
||||
*pcr &= ~WDOG_CR_SRS;
|
||||
*pcr &= ~WDOG_CR_SRS;
|
||||
*pcr &= ~WDOG_CR_SRS;
|
||||
*pcr = WDOG_CR_WDE;
|
||||
*pcr = WDOG_CR_WDE;
|
||||
*pcr = WDOG_CR_WDE;
|
||||
|
||||
while (true) {
|
||||
/* Wait */
|
||||
|
||||
Reference in New Issue
Block a user