3 #include <linux/types.h>
4 #include <asm/arch/bits.h>
6 #include <asm/arch/cmddef.h>
8 #include <asm/arch/sci_types.h>
9 #include <asm/arch/boot_drvapi.h>
10 #include <asm/arch/mocor_boot_mode.h>
12 static void ResetMCU(void)
14 /* set watchdog reset flag */
15 CHIP_PHY_ResetHWFlag(0x1FFF);
16 CHIP_PHY_SetWDGHWFlag(TYPE_RESET, AUTO_TEST_MODE);
17 /* reset the system via watchdog timeout */
23 void reboot_func(void)
25 /* reboot example only for amazing */
26 printf("\n--------%s %d-------\n", __FUNCTION__, __LINE__);