include: sbi: Introduce nascent_init() platform callback
authorAnup Patel <apatel@ventanamicro.com>
Tue, 29 Jun 2021 07:44:04 +0000 (13:14 +0530)
committerAnup Patel <anup@brainfault.org>
Tue, 15 Feb 2022 15:04:24 +0000 (20:34 +0530)
commit10509405b2722d25389280b7d914579a16e2eb7e
treeef1736a60178619f07a52b32203f8b32351b23a4
parent5f56314618d4733c83bb80c65f9181e952f051ed
include: sbi: Introduce nascent_init() platform callback

We introduce nascent_init() platform callback which will allow
platforms to do very early initialization of platform specific
per-HART CSRs and per-HART devices.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
include/sbi/sbi_platform.h
lib/sbi/sbi_init.c