Skip to content

Commit be3cfd9

Browse files
unicornxRbb666
authored andcommitted
bsp: k230: use sysctl to reboot the board
Signed-off-by: Wang Chen <[email protected]>
1 parent fd5c70d commit be3cfd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bsp/k230/board/board.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#include "drv_uart.h"
1919

20-
#include <sbi.h>
20+
#include "sysctl_boot.h"
2121

2222
#ifdef RT_USING_SMART
2323
#include <mmu.h>
@@ -126,7 +126,7 @@ void rt_hw_board_init(void)
126126

127127
void rt_hw_cpu_reset(void)
128128
{
129-
sbi_shutdown();
129+
sysctl_boot_reset_soc();
130130
while(1);
131131
}
132132
MSH_CMD_EXPORT_ALIAS(rt_hw_cpu_reset, reboot, reset machine);

0 commit comments

Comments
 (0)