From b49861ab85909ce27ddc7b25f45b33b545048567 Mon Sep 17 00:00:00 2001
From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Date: Wed, 17 Apr 2024 16:01:28 +0200
Subject: [PATCH] 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>
---
 cmd/riscv/sbi.c | 2 ++
 1 file changed, 2 insertions(+)

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[] = {
-- 
2.39.5