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>
This commit is contained in:
Subrata Banik 2018-02-26 17:16:26 +05:30 committed by Martin Roth
parent c8f0a6c31a
commit a3af8eb76b
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ static const struct guid_name_map guid_names[] = {
{ tseg_guid, "TSEG" }, { 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)) if (type >= ARRAY_SIZE(resource_names))
return "UNKNOWN"; return "UNKNOWN";