aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-09-09 13:54:03 +0530
committerAnup Patel <anup@brainfault.org>2020-09-16 09:05:31 +0530
commitaaeca7eb4efa96cfde3973f425a6769b50285756 (patch)
treeeea2e688fac58419ebf2a06270e922a22262f5e3 /Makefile
parent172fa1601c7faaa01c547e8c498f5bdefd52d7cb (diff)
platform: generic: Don't mark non-MMU HARTs as invalid
Currently, the generic platform fw_platform_init() marks non-MMU HARTs (e.g. E-core on SiFive Unleashed) as invalid. This means such non-MMU HARTs won't be allowed to go ahead by sbi_init(). The sbi_init() now has a check for next stage privilege mode when selecting coldboot HART. This check will force non-MMU HARTS (i.e. HARTs without S-mode) to proceed in warmboot path and wait in the HSM STOPPED state. This means we don't need to mark non-MMU HARTs as invalid in generic platform fw_platform_init(). Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions