cmd: sbi: add coreboot and oreboot implementation IDs
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 17 Apr 2024 14:01:28 +0000 (16:01 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 1 May 2024 14:40:17 +0000 (22:40 +0800)
Let the sbi command detect the coreboot and oreboot SBI Implementation IDs
defined in SBI specification v2.0.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
cmd/riscv/sbi.c

index 55507b0..2d8ee7e 100644 (file)
@@ -29,6 +29,8 @@ static struct sbi_imp implementations[] = {
        { 6, "Coffer" },
        { 7, "Xen Project" },
        { 8, "PolarFire Hart Software Services" },
+       { 9, "coreboot" },
+       { 10, "oreboot" },
 };
 
 static struct sbi_ext extensions[] = {