riscv: Implement new SBI v0.2 extensions
authorBin Meng <bmeng.cn@gmail.com>
Tue, 10 Mar 2020 02:35:31 +0000 (19:35 -0700)
committerAndes <uboot@andestech.com>
Tue, 17 Mar 2020 03:29:54 +0000 (11:29 +0800)
commit5bde2152d42515f7af46d210d7edf14e3b10d5f5
tree4b6ad8e79aa17df97a4ff320613317e2b43b62c8
parent1b3c8d64020f835823aedc1c4d293e34a78bd1b8
riscv: Implement new SBI v0.2 extensions

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

Implement the replacement extensions and few additional new SBI
function calls that makes way for a better SBI interface in future.

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