u-boot/arch/riscv
Bin Meng f58fc34a2b riscv: Add basic support for SBI v0.2
The SBI v0.2 introduces a base extension which is backward compatible
with v0.1. Implement all helper functions and minimum required SBI
calls from v0.2 for now. All other base extension function will be
added later as per need.

As v0.2 calling convention is backward compatible with v0.1, remove
the v0.1 helper functions and just use v0.2 calling convention.

Add a new Kconfig options CONFIG_SBI for the new SBI v0.2 codes, and
let CONFIG_SBI_IPI depend on it.

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

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Pragnesh Patel <pragnesh.patel@sifive.com>
2020-03-17 11:29:54 +08:00
..
cpu riscv: Remove unnecessary instruction 2020-02-10 14:51:52 +08:00
dts riscv: dts: Add #address-cells and #size-cells in nor node 2019-12-10 08:23:10 +08:00
include/asm riscv: Add basic support for SBI v0.2 2020-03-17 11:29:54 +08:00
lib riscv: Add basic support for SBI v0.2 2020-03-17 11:29:54 +08:00
config.mk riscv: qemu: define standalone load address 2019-01-15 09:36:31 +08:00
Kconfig riscv: Add basic support for SBI v0.2 2020-03-17 11:29:54 +08:00
Makefile riscv: add Kconfig entries for the code model 2018-12-18 09:56:26 +08:00