From a3af8eb76b82ea8dba9c87c90baeea3a1f192679 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Mon, 26 Feb 2018 17:16:26 +0530 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/23871 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Paul Menzel Reviewed-by: Furquan Shaikh --- src/drivers/intel/fsp2_0/hob_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";