[coreboot] Patch set updated for coreboot: d397642 Fix compilation on Stumpy

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Wed Nov 7 20:05:54 CET 2012


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1762

-gerrit

commit d397642fc8ca4a2a25c5b3e77a8f85220114563b
Author: Stefan Reinauer <reinauer at chromium.org>
Date:   Tue Oct 2 15:46:03 2012 -0700

    Fix compilation on Stumpy
    
    If there is no SPI flash driver in SMM, we don't have to initialize it
    after locking down the BAR. This fixes Stumpy compilation
    
    Change-Id: I2dfc61a8d85563ccfad061aeb6ce7c65c1fcf1d4
    Signed-off-by: Stefan Reinauer <reinauer at google.com>
---
 src/southbridge/intel/bd82x6x/finalize.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/southbridge/intel/bd82x6x/finalize.c b/src/southbridge/intel/bd82x6x/finalize.c
index 79b77d2..d50c8e6 100644
--- a/src/southbridge/intel/bd82x6x/finalize.c
+++ b/src/southbridge/intel/bd82x6x/finalize.c
@@ -35,8 +35,10 @@ void intel_pch_finalize_smm(void)
 	/* Lock SPIBAR */
 	RCBA32_OR(0x3804, (1 << 15));
 
+#if CONFIG_SPI_FLASH_SMM
 	/* Re-init SPI driver to handle locked BAR */
 	spi_init();
+#endif
 
 	/* TCLOCKDN: TC Lockdown */
 	RCBA32_OR(0x0050, (1 << 31));




More information about the coreboot mailing list