diff options
author | Atish Patra <atish.patra@wdc.com> | 2020-02-12 04:32:36 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-02-24 15:34:23 +0300 |
commit | f64f4b92e411709227ee830bc1e9f8f87c72423e (patch) | |
tree | 72972065bc6aa528d701884a5df2b41ecbb7857d /include/sbi/sbi_error.h | |
parent | ac5e821d50be631f26274765a59bc1b444ffd862 (diff) | |
download | opensbi-f64f4b92e411709227ee830bc1e9f8f87c72423e.tar.xz |
lib: Add a new platform feature to bringup secondary harts
A platform may have a specific method to bring-up secondary harts for the
first time but may rely on generic WFI based approach for hart hotplug in
absence of a platform specific hart hotplug method.
Define a platform feature flag for such platforms. The platform needs to
implement platform specific bring-up method in hart_start and not define
hart_stop method in this case. They must only define
SBI_PLATFORM_HAS_HART_SECONDARY_BOOT.
SBI_PLATFORM_HAS_HART_HOTPLUG should only be defined when the platform
intend to support both hart_start and hart_stop and do not intend to rely
on generic WFI based approach.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'include/sbi/sbi_error.h')
0 files changed, 0 insertions, 0 deletions