diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2024-03-04 20:00:24 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2024-03-05 16:28:06 +0100 |
commit | fcbbd5db1c511ef5101f27ad99526966b159643a (patch) | |
tree | 3de0554bc35760323b3047515bf6698f010f02e0 | |
parent | 41781cbb27ae71218f2a6e99b9693132496481a5 (diff) | |
download | barebox-fcbbd5db1c51.tar.gz barebox-fcbbd5db1c51.tar.xz |
efi: devicepath: pretty print BBS BEV DeviceType
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@pengutronix.de>
Link: https://lore.barebox.org/20240304190038.3486881-100-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | efi/devicepath.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/efi/devicepath.c b/efi/devicepath.c index dfedeb6239..53387d8bd1 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; |