[coreboot-gerrit] Change in coreboot[master]: soc/intel/skylake: Add support for GSPI controller

Furquan Shaikh (Code Review) gerrit at coreboot.org
Tue Apr 4 21:34:29 CEST 2017


Hello build bot (Jenkins),

I'd like you to reexamine a change.  Please visit

    https://review.coreboot.org/19099

to look at the new patch set (#5).

Change subject: soc/intel/skylake: Add support for GSPI controller
......................................................................

soc/intel/skylake: Add support for GSPI controller

Similar to I2C, allow mainboards to pass in GSPI config details:
1. early_init - If BAR for the controller needs to be initialized
before memory is up.
2. speed_mhz - Desired speed of the SPI bus in MHz.

Provide gspi_early_bar_init function that looks up device tree config
and decides if BAR needs to be set up for the controller. Provide macros
for GSPI*_BUS to make it easier to refer to a particular bus.

Using the common GSPI controller driver implementation for Intel PCH,
add support for GSPI controller buses on Sky Lake / Kaby Lake.

BUG=b:35583330

Change-Id: I29b1d4d5a6ee4093f2596065ac375c06f17d33ac
Signed-off-by: Furquan Shaikh <furquan at chromium.org>
---
M src/soc/intel/skylake/Kconfig
M src/soc/intel/skylake/Makefile.inc
M src/soc/intel/skylake/bootblock/bootblock.c
A src/soc/intel/skylake/bootblock/gspi.c
M src/soc/intel/skylake/chip.h
A src/soc/intel/skylake/gspi.c
M src/soc/intel/skylake/include/soc/bootblock.h
M src/soc/intel/skylake/include/soc/iomap.h
M src/soc/intel/skylake/include/soc/pci_devs.h
M src/soc/intel/skylake/spi.c
10 files changed, 236 insertions(+), 22 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/19099/5
-- 
To view, visit https://review.coreboot.org/19099
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I29b1d4d5a6ee4093f2596065ac375c06f17d33ac
Gerrit-PatchSet: 5
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Furquan Shaikh <furquan at google.com>
Gerrit-Reviewer: Aaron Durbin <adurbin at chromium.org>
Gerrit-Reviewer: Duncan Laurie <dlaurie at chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan at google.com>
Gerrit-Reviewer: Paul Menzel <paulepanter at users.sourceforge.net>
Gerrit-Reviewer: build bot (Jenkins)



More information about the coreboot-gerrit mailing list