Aamir Bohra has uploaded this change for review.

View Change

drivers/intel/fsp2_0: honour FSP2_0_DISPLAY_LOGO Kconfig

The FSP logo support should only compile if board selects
FSP2_0_DISPLAY_LOGO

Change-Id: Id92cc733562468a42ceee720861f5a1a4bcae9c3
Signed-off-by: Aamir Bohra <aamir.bohra@intel.com>
---
M src/drivers/intel/fsp2_0/silicon_init.c
1 file changed, 1 insertion(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/75/37675/1
diff --git a/src/drivers/intel/fsp2_0/silicon_init.c b/src/drivers/intel/fsp2_0/silicon_init.c
index ebdbdbf..8cd63f2 100644
--- a/src/drivers/intel/fsp2_0/silicon_init.c
+++ b/src/drivers/intel/fsp2_0/silicon_init.c
@@ -57,13 +57,11 @@
/* Give SoC/mainboard a chance to populate entries */
platform_fsp_silicon_init_params_cb(upd);

-#if (CONFIG(HAVE_FSP_GOP))
- if (CONFIG(FSP2_0_DISPLAY_LOGO)) {
+#if (CONFIG(FSP2_0_DISPLAY_LOGO))
upd->FspsConfig.LogoSize = 1 * MiB;
logo_entry = cbmem_entry_add(CBMEM_ID_FSP_LOGO, upd->FspsConfig.LogoSize);
upd->FspsConfig.LogoPtr = (UINT32)cbmem_entry_start(logo_entry);
load_logo(upd);
- }
#endif

/* Call SiliconInit */

To view, visit change 37675. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id92cc733562468a42ceee720861f5a1a4bcae9c3
Gerrit-Change-Number: 37675
Gerrit-PatchSet: 1
Gerrit-Owner: Aamir Bohra <aamir.bohra@intel.com>
Gerrit-MessageType: newchange