summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2018-02-26 17:16:26 +0530
committerMartin Roth <martinroth@google.com>2018-02-28 17:40:01 +0000
commita3af8eb76b82ea8dba9c87c90baeea3a1f192679 (patch)
treeaa72b9051cb967a520bbe4e14f790fbbf5267fbc /src/drivers
parentc8f0a6c31a52ad5fa97fe8f973826eb77bde5685 (diff)
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@intel.com> Reviewed-on: https://review.coreboot.org/23871 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/fsp2_0/hob_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/fsp2_0/hob_display.c b/src/drivers/intel/fsp2_0/hob_display.c
index 67e79b48b1..d9838e9462 100644
--- a/src/drivers/intel/fsp2_0/hob_display.c
+++ b/src/drivers/intel/fsp2_0/hob_display.c
@@ -89,7 +89,7 @@ static const struct guid_name_map guid_names[] = {
{ 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";