[coreboot-gerrit] Change in coreboot[master]: drivers/intel/fsp2_0: Fix build error while DISPLAY_HOBS is selected

Subrata Banik (Code Review) gerrit at coreboot.org
Mon Feb 26 12:49:58 CET 2018


Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/23871


Change subject: drivers/intel/fsp2_0: Fix build error while DISPLAY_HOBS is selected
......................................................................

drivers/intel/fsp2_0: Fix build error while DISPLAY_HOBS is selected

This patch fixes brokenness issues in coreboot with CONFIG_DISPLAY_HOBs
config selection due to recent UDK2017 package changes.

TEST=Build and boot UDK2017 platforms with DISPLAY_HOBS select.

Change-Id: I5c779c86870c62253d64c6af456bf017553e269c
Signed-off-by: Subrata Banik <subrata.banik at intel.com>
---
M src/drivers/intel/fsp2_0/hob_display.c
M src/drivers/intel/fsp2_0/include/fsp/util.h
2 files changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/71/23871/1

diff --git a/src/drivers/intel/fsp2_0/hob_display.c b/src/drivers/intel/fsp2_0/hob_display.c
index 67e79b4..d9838e9 100644
--- a/src/drivers/intel/fsp2_0/hob_display.c
+++ b/src/drivers/intel/fsp2_0/hob_display.c
@@ -89,7 +89,7 @@
 	{ tseg_guid,			"TSEG" },
 };
 
-static const char *resource_name(enum resource_type type)
+static const char *resource_name(uint32_t type)
 {
 	if (type >= ARRAY_SIZE(resource_names))
 		return "UNKNOWN";
diff --git a/src/drivers/intel/fsp2_0/include/fsp/util.h b/src/drivers/intel/fsp2_0/include/fsp/util.h
index e7778ec..6d09875 100644
--- a/src/drivers/intel/fsp2_0/include/fsp/util.h
+++ b/src/drivers/intel/fsp2_0/include/fsp/util.h
@@ -20,6 +20,7 @@
 #include <fsp/api.h>
 #include <fsp/info_header.h>
 #include <memrange.h>
+#include <Pi/PiHob.h>
 
 struct hob_header {
 	uint16_t type;

-- 
To view, visit https://review.coreboot.org/23871
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5c779c86870c62253d64c6af456bf017553e269c
Gerrit-Change-Number: 23871
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180226/9e61aff5/attachment.html>


More information about the coreboot-gerrit mailing list