3 * Vikas Manocha, ST Micoelectronics, vikas.manocha@st.com.
5 * SPDX-License-Identifier: GPL-2.0+
10 #include <asm/arch/stv0991_wdru.h>
11 void reset_cpu(ulong ignored)
13 puts("System is going to reboot ...\n");
15 * This 1 second delay will allow the above message
16 * to be printed before reset
18 udelay((1000 * 1000));
20 /* Setting bit 1 of the WDRU unit will reset the SoC */
21 writel(WDRU_RST_SYS, &stv0991_wd_ru_ptr->wdru_ctrl1);
23 /* system will restart */