diff mbox

[U-Boot,v2,10/12] efi_loader: provide a sufficient number of protocols

Message ID 20170711200625.7108-11-xypron.glpk@gmx.de
State Accepted
Commit 011f432745ae7fdb645e16c03382a4181d262619
Delegated to: Alexander Graf
Headers show

Commit Message

Heinrich Schuchardt July 11, 2017, 8:06 p.m. UTC
Four protocols per object is too few to run iPXE.

Let's raise the number of protocols per object to eight.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
v2
	new patch
---
 include/efi_loader.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/include/efi_loader.h b/include/efi_loader.h
index c620652307..989e5809ba 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -65,8 +65,8 @@  struct efi_handler {
 struct efi_object {
 	/* Every UEFI object is part of a global object list */
 	struct list_head link;
-	/* We support up to 4 "protocols" an object can be accessed through */
-	struct efi_handler protocols[4];
+	/* We support up to 8 "protocols" an object can be accessed through */
+	struct efi_handler protocols[8];
 	/* The object spawner can either use this for data or as identifier */
 	void *handle;
 };