Commit 28b40528 authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

lib: sbi: detect features before everything else in sbi_hart_init()



We should detect HART features in sbi_hart_init() before
mstatus_init(), delegate_traps() and pmp_init().

Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
parent 38a4b54c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment