diff options
| author | Anup Patel <[email protected]> | 2020-09-09 09:19:09 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2020-09-16 09:05:29 +0530 |
| commit | 172fa1601c7faaa01c547e8c498f5bdefd52d7cb (patch) | |
| tree | abd488410a942da16c3c06440bb3c91628431d4a /platform | |
| parent | 9f935a4a4372657e43b25fe2f4022fdeb3ca2387 (diff) | |
lib: sbi: Ensure coldboot HART supports next privilege mode
The coldboot HART jumps to the next booting stage at the end of
init_coldboot() so it is absolutely necessary for coldboot HART
to support the privilege mode expected by the next booting stage.
We extend the coldboot HART selection in sbi_init() to ensure that
the selected coldboot HART always supports privilege mode specified
in scratch space (i.e. scratch->next_mode). This will further help
us allow E-core (without MMU) on SiFive Unleashed and PolarFire
ICICLE boards to proceed further and wait in HSM STOPPED state.
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'platform')
0 files changed, 0 insertions, 0 deletions
