[PATCH v2 098/113] efi: devicepath: align MemoryMapped name with spec
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Mar 4 11:00:23 PST 2024
The strings are currently only for barebox-internal consumption, but we
may in future expose them over the EFI_DEVICE_PATH_TO_TEXT_PROTOCOL, so
we should start using the naming that's in the specification.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
efi/devicepath.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/efi/devicepath.c b/efi/devicepath.c
index 98aba6289e18..dfedeb6239ac 100644
--- a/efi/devicepath.c
+++ b/efi/devicepath.c
@@ -170,7 +170,7 @@ dev_path_mem_map(struct string *str, const void *dev_path)
const struct memmap_device_path *mem_map;
mem_map = dev_path;
- cprintf(str, "mem_map(%d,0x%llx,0x%llx)",
+ cprintf(str, "MemoryMapped(0x%x,0x%llx,0x%llx)",
mem_map->memory_type,
mem_map->starting_address, mem_map->ending_address);
}
--
2.39.2
More information about the barebox
mailing list