[U-Boot] [PATCH v2 16/21] efi_loader: file_path should be variable length

Rob Clark robdclark at gmail.com
Sun Sep 10 11:21:42 UTC 2017


After "efi_loader: refactor boot device and loaded_image handling" we
can drop this hack.

Signed-off-by: Rob Clark <robdclark at gmail.com>
---
 include/efi_api.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/efi_api.h b/include/efi_api.h
index d0aefa8221..604c5b7ec4 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -373,7 +373,7 @@ struct efi_device_path_cdrom_path {
 
 struct efi_device_path_file_path {
 	struct efi_device_path dp;
-	u16 str[32];
+	u16 str[];
 } __packed;
 
 #define BLOCK_IO_GUID \
-- 
2.13.5



More information about the U-Boot mailing list