[BSP][K210]Add interface reboot
@@ -117,3 +117,10 @@ void rt_hw_board_init(void)
rt_components_board_init();
#endif
}
+void rt_hw_cpu_reset(void)
+{
+ sysctl->soft_reset.soft_reset = 1;
+ while(1);
+}
+
+MSH_CMD_EXPORT_ALIAS(rt_hw_cpu_reset, reboot, reset machine);
