]> git.baikalelectronics.ru Git - uboot.git/commit
riscv: Add SBI v0.2 extension definitions
authorBin Meng <bmeng.cn@gmail.com>
Tue, 10 Mar 2020 02:35:29 +0000 (19:35 -0700)
committerAndes <uboot@andestech.com>
Tue, 17 Mar 2020 03:29:54 +0000 (11:29 +0800)
commit7213002458eefbaf17b7129082ff9d5416e8fccd
tree0134a5eabca527ed1633db28da8f70116fd9431b
parent574f4ecd26a8bc433eabaafd51dfbb633c66a84f
riscv: Add SBI v0.2 extension definitions

Few v0.1 SBI calls are being replaced by new SBI calls that follows
v0.2 calling convention.

This patch just defines these new extensions.

This commit is inspired from Linux kernel patch:
https://patchwork.kernel.org/patch/11407359/

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Pragnesh Patel <pragnesh.patel@sifive.com>
arch/riscv/include/asm/sbi.h