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

-gerrit

commit 802d06cc0c07945504a43764a1299b40647dd9ca
Author: Stefan Reinauer <[email protected]>
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 <[email protected]>
---
 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 1275725..4a4f021 100644
--- a/src/southbridge/intel/bd82x6x/finalize.c
+++ b/src/southbridge/intel/bd82x6x/finalize.c
@@ -36,8 +36,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));

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to