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:
parent
c8f0a6c31a
commit
a3af8eb76b
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue