riscv: function to retrieve SBI implementation version
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 25 Oct 2021 13:09:34 +0000 (15:09 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Mon, 8 Nov 2021 07:35:55 +0000 (15:35 +0800)
commitafb8e1f06730a35d436c58367f2b15c7dbf90cf1
tree735d73398e406570f6683e4255bedc39b1fc8e97
parent52207514ba419a69a8105d16997b025f966c8879
riscv: function to retrieve SBI implementation version

Provide function sbi_get_impl_version() to retrieve the SBI implementation
version.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Reviewed-by: Rick Chen <rick@andestech.com>
arch/riscv/include/asm/sbi.h
arch/riscv/lib/sbi.c