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)
commit1e32715602d3da294eaf4e70542c4be65e77a839
tree0134a5eabca527ed1633db28da8f70116fd9431b
parentf58fc34a2b215a80adcf62c6e90793e23d6f915c
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