From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Date: Wed, 17 Apr 2024 14:01:28 +0000 (+0200)
Subject: cmd: sbi: add coreboot and oreboot implementation IDs
X-Git-Tag: v2025.01-rc5-pxa1908~486^2~8
X-Git-Url: http://git.dujemihanovic.xyz/browse.php?a=commitdiff_plain;h=b49861ab85909ce27ddc7b25f45b33b545048567;p=u-boot.git

cmd: sbi: add coreboot and oreboot implementation IDs

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>
---

diff --git a/cmd/riscv/sbi.c b/cmd/riscv/sbi.c
index 55507b0aa6..2d8ee7e5bb 100644
--- a/cmd/riscv/sbi.c
+++ b/cmd/riscv/sbi.c
@@ -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[] = {