From 617c246f3c123d4a2d4dba9d08a4a2dd324cb407 Mon Sep 17 00:00:00 2001
From: Simon Glass <sjg@chromium.org>
Date: Mon, 15 Apr 2013 11:25:21 +0000
Subject: [PATCH] x86: config: Init PCI before SPI

Since the ICH SPI controller uses PCI, we must ensure that PCI is available
before it is inited.

This fixes the current "ICH SPI: Cannot find device" message on boot.

Signed-off-by: Simon Glass <sjg@chromium.org>
---
 include/configs/coreboot.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index a4aa8f7453..5bacc77bb5 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -41,6 +41,7 @@
 #define CONFIG_INTEL_CORE_ARCH	/* Sandy bridge and ivy bridge chipsets. */
 #define CONFIG_ZBOOT_32
 #define CONFIG_PHYSMEM
+#define CONFIG_SYS_EARLY_PCI_INIT
 
 #define CONFIG_LMB
 #define CONFIG_OF_LIBFDT
-- 
2.39.5