diff options
author | Atish Patra <atish.patra@wdc.com> | 2018-12-18 03:35:07 +0300 |
---|---|---|
committer | Atish Patra <atish.patra@wdc.com> | 2018-12-21 02:55:27 +0300 |
commit | 84971c0bc03245dc8092ec5a1119450a62ee2d47 (patch) | |
tree | 5c073afe66b0d1cb48aabcae5bb5b6746de37734 /blob | |
parent | e0a660ec5bdb11820600388d084f461f0bef8ed7 (diff) | |
download | opensbi-84971c0bc03245dc8092ec5a1119450a62ee2d47.tar.xz |
Use wfi for coldboot finish call.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'blob')
-rw-r--r-- | blob/fw_common.S | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/blob/fw_common.S b/blob/fw_common.S index db0f7f7..a2685cf 100644 --- a/blob/fw_common.S +++ b/blob/fw_common.S @@ -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 |