]> git.baikalelectronics.ru Git - uboot.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)
commit3e1dee9e01d7d1683f8286205c355e935409258d
treed7af3313526b4c240f4df2c8f8d214d54ba4466d
parent21896f4f7e6298d06441a16ee98341420f5e7e37
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