riscv: Mark existing SBI as v0.1 SBI
authorBin Meng <bmeng.cn@gmail.com>
Tue, 10 Mar 2020 02:35:27 +0000 (19:35 -0700)
committerAndes <uboot@andestech.com>
Tue, 17 Mar 2020 03:29:54 +0000 (11:29 +0800)
commit215c3a7701913a12ba6727efb83be80ad8ed659b
tree6b33b8d6434387cfb4cedb09e23a4578c535d5d4
parentf295e00c61100960182b3bbcf5d823bd51487420
riscv: Mark existing SBI as v0.1 SBI

As per the new SBI specification, current SBI implementation version
is defined as 0.1 and will be removed/replaced in future. Each of the
function call in 0.1 is defined as a separate extension which makes
easier to replace them one at a time.

Rename existing implementation to reflect that. This patch is just
a preparatory patch for SBI v0.2 and doesn't introduce any functional
changes.

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

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