Use wfi for coldboot finish call.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
This commit is contained in:
Atish Patra committed 2018-12-20 15:55:27 -08:00
1 parent e0a660ec5b
commit 84971c0bc0
4 files changed
+24 -18

No files matched your search

+4 -1
View File
@@ -122,7 +122,10 @@ _start_warm:
csrw mie, zero
csrw mip, zero
/* HART ID should be within expected limit */
/* set MSIE bit to receive IPI */
li a2, MIP_MSIP
csrw mie, a2
/* HART ID should be withing expected limit */
csrr a6, mhartid
li a5, PLAT_HART_COUNT
bge a6, a5, _start_hang