coreboot-kgpe-d16/src/southbridge/intel
David Hendricks f2612a1061 x86: Initialize SPI controller explicitly during PCH init
This ensures that SPI is ready when eventlog code is used.

x86 platforms which use eventlog invoke elog_clear() in GSMI and
elog_add_event_raw() when deciding the boot path based on ME status.
For the SMM case spi_init() is called during the finalize stage in
SMM setup. For the boot path case we can call spi_init() at the
beginning of BS_DEV_INIT and it will be ready to use when the boot
path is determined from the ME status.

BUG=none
BRANCH=none
TEST=tested on Link (bd82x6x), Beltino (Lynxpoint), and Rambi
(Baytrail) with follow-up patch
Signed-off-by: David Hendricks <dhendrix@chromium.org>

Original-Change-Id: Id3aef0fc7d4df5aaa3c1c2c2383b339430e7a6a1
Original-Reviewed-on: https://chromium-review.googlesource.com/194525
Original-Reviewed-by: David Hendricks <dhendrix@chromium.org>
Original-Commit-Queue: David Hendricks <dhendrix@chromium.org>
Original-Tested-by: David Hendricks <dhendrix@chromium.org>
(cherry picked from commit 173d8f08e867bab8c97a6c733580917f5892a45d)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: Ifaed677bbb141377b36bd9910b2b1c3402654aad
Reviewed-on: http://review.coreboot.org/7756
Tested-by: build bot (Jenkins)
Reviewed-by: David Hendricks <dhendrix@chromium.org>
2014-12-17 20:50:33 +01:00
..
bd82x6x early_me_native.c: Remove unused pci_write_dword_ptr. 2014-12-07 12:55:48 +01:00
common x86: Initialize SPI controller explicitly during PCH init 2014-12-17 20:50:33 +01:00
esb6300 cmos: Rename the CMOS related functions. 2014-10-22 03:55:14 +02:00
fsp_bd82x6x Replace hlt with halt() 2014-12-02 10:25:55 +01:00
fsp_rangeley CBMEM console: Fix boards with BROKEN_CAR_MIGRATE 2014-12-16 20:41:02 +01:00
i3100 cmos: Rename the CMOS related functions. 2014-10-22 03:55:14 +02:00
i82371eb i82371eb: Remove weak functions 2014-11-16 00:05:04 +01:00
i82801ax cmos: Rename the CMOS related functions. 2014-10-22 03:55:14 +02:00
i82801bx cmos: Rename the CMOS related functions. 2014-10-22 03:55:14 +02:00
i82801cx cmos: Rename the CMOS related functions. 2014-10-22 03:55:14 +02:00
i82801dx cmos: Rename the CMOS related functions. 2014-10-22 03:55:14 +02:00
i82801ex cmos: Rename the CMOS related functions. 2014-10-22 03:55:14 +02:00
i82801gx i945: Consolidate acpi/platform.asl 2014-12-03 21:02:50 +01:00
i82801ix intel: Remove IRQ1 from possible PIRQ assignemnt. 2014-11-25 23:47:20 +01:00
i82870 southbridge: Trivial - drop trailing blank lines at EOF 2014-07-08 13:53:21 +02:00
ibexpeak Replace hlt with halt() 2014-12-02 10:25:55 +01:00
lynxpoint Replace hlt with halt() 2014-12-02 10:25:55 +01:00
pxhd
sch intel: Remove IRQ1 from possible PIRQ assignemnt. 2014-11-25 23:47:20 +01:00
Kconfig southbridge/intel: Add fsp_rangeley support 2014-07-30 19:00:44 +02:00
Makefile.inc southbridge/intel: Add fsp_rangeley support 2014-07-30 19:00:44 +02:00