summaryrefslogtreecommitdiffstats
path: root/arch/riscv/lib
diff options
context:
space:
mode:
authorBin Meng <bin.meng@windriver.com>2020-05-27 02:04:52 -0700
committerAndes <uboot@andestech.com>2020-06-04 09:44:21 +0800
commitfe9435571612066cc897e8c80921cba01c068c64 (patch)
tree3e4084f76946b75db1eddf6d098314171a8cd83a /arch/riscv/lib
parentc1416429ba282ebf62f80b8eeb4e3eb388a8edb2 (diff)
downloadu-boot-fe9435571612066cc897e8c80921cba01c068c64.tar.gz
u-boot-fe9435571612066cc897e8c80921cba01c068c64.tar.xz
u-boot-fe9435571612066cc897e8c80921cba01c068c64.zip
riscv: sbi: Remove sbi_spec_version
U-Boot defaults to use SBI v0.2. Howerver there is a global variable sbi_spec_version that stills refers to v0.1. Since it is not used anywhere, let's remove it. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'arch/riscv/lib')
-rw-r--r--arch/riscv/lib/sbi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/riscv/lib/sbi.c b/arch/riscv/lib/sbi.c
index 993597e33d..f298846e63 100644
--- a/arch/riscv/lib/sbi.c
+++ b/arch/riscv/lib/sbi.c
@@ -11,9 +11,6 @@
#include <asm/encoding.h>
#include <asm/sbi.h>
-/* default SBI version is 0.1 */
-unsigned long sbi_spec_version = SBI_SPEC_VERSION_DEFAULT;
-
struct sbiret sbi_ecall(int ext, int fid, unsigned long arg0,
unsigned long arg1, unsigned long arg2,
unsigned long arg3, unsigned long arg4,