summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_init.h
AgeCommit message (Collapse)AuthorFilesLines
2020-01-07lib: Add sbi_init_count() APIAnup Patel1-0/+2
We add sbi_init_count() API which provides number of times a given HART completed init sequence (warmboot/coldboot). This will be very useful in debugging. With upcoming SBI HSM extension, it will also help in implementing one-time init code for each HART. Signed-off-by: Anup Patel <anup@brainfault.org> Reviewed-by: Atish Patra <atish.patra@wdc.com>
2020-01-07lib: Add initial sbi_exit() APIAnup Patel1-0/+2
This patch adds initial implementation of sbi_exit() API which can be used to perform OpenSBI exit sequence for current HART. The sbi_exit() implementation will be further extended by subsequent patches. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
2019-01-24all: Update copyright header in all filesAnup patel1-3/+3
This patch updates copyright header in all files as follows: 1. Makes "SPDX-License-Identifier: BSD-2-Clause" as first line 2. Change copyright year to 2019 for Western Digital Signed-off-by: Anup Patel <anup.patel@wdc.com>
2019-01-16lib: Add documentation for sbi_init() APIAnup Patel1-1/+1
This patch adds doxygen style documentation for sbi_init() API. Signed-off-by: Anup Patel <anup.patel@wdc.com>
2018-12-11Initial commit.Anup Patel1-0/+19
Signed-off-by: Anup Patel <anup.patel@wdc.com>