[fix][board] halt d0 when flash init
This commit is contained in:
parent
356f258e83
commit
47d0f9cd38
@ -228,10 +228,10 @@ void board_init(void)
|
||||
|
||||
flag = bflb_irq_save();
|
||||
|
||||
ret = bflb_flash_init();
|
||||
|
||||
GLB_Halt_CPU(GLB_CORE_ID_D0);
|
||||
|
||||
ret = bflb_flash_init();
|
||||
|
||||
system_clock_init();
|
||||
peripheral_clock_init();
|
||||
bflb_irq_initialize();
|
||||
@ -273,7 +273,7 @@ void board_init(void)
|
||||
|
||||
bflb_irq_restore(flag);
|
||||
|
||||
/* we do not check header at 0x10000, just boot */
|
||||
/* we do not check header at 0x100000, just boot */
|
||||
GLB_Release_CPU(GLB_CORE_ID_D0);
|
||||
|
||||
/* release d0 and then do can run */
|
||||
|
Reference in New Issue
Block a user