]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: provide missing base extension functions
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 17 Mar 2022 06:36:14 +0000 (07:36 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 6 Apr 2022 01:40:05 +0000 (09:40 +0800)
commitca7e93fa9f6c417a2d260440ff4c0aaded259989
treed7af3313526b4c240f4df2c8f8d214d54ba4466d
parent70ae54bd2579568372e79f69417e5cb568b24b6f
riscv: provide missing base extension functions

Provide library functions to read:

* machine vendor ID
* machine architecture ID
* machine implementation ID

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
arch/riscv/include/asm/sbi.h
arch/riscv/lib/sbi.c