[PATCH v2 099/113] efi: devicepath: pretty print BBS BEV DeviceType
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Mar 4 11:00:24 PST 2024
BBS paths can have multiple types, one of them is the device type, which
we will start abusing in a later commit, so make sure it's
translated to a readable string.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
efi/devicepath.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/efi/devicepath.c b/efi/devicepath.c
index dfedeb6239ac..53387d8bd127 100644
--- a/efi/devicepath.c
+++ b/efi/devicepath.c
@@ -624,6 +624,9 @@ dev_path_bss_bss(struct string *str, const void *dev_path)
case BBS_TYPE_EMBEDDED_NETWORK:
type = "Net";
break;
+ case BBS_TYPE_DEV:
+ type = "Dev";
+ break;
default:
type = "?";
break;
--
2.39.2
More information about the barebox
mailing list