summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x201/mainboard.c
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2017-01-21 16:55:03 -0800
committerDuncan Laurie <dlaurie@chromium.org>2017-01-22 19:24:37 +0100
commit4234ca276419314a0df598c7375c683def67ab1a (patch)
tree58b461f23eb243262e3a2e1e2588b31e6ae4e30d /src/mainboard/lenovo/x201/mainboard.c
parent367c9b328fd084509f8ed41ecf3c64ebc2e02e17 (diff)
soc/intel/skylake: Include I2C code in romstage
The lpss_i2c driver is enabled in romstage, so the SOC needs to export the pre-ram compatible I2C controller info, which for skylake is in the bootblock/i2c.c file. This was not causing a compiler error in normal use, but when adding I2C debug code in romstage it failed to compile. With this added, I can now do I2C transactions in romstage. Change-Id: I0778b0497d0b6936df47c29b2ce942c8d90cf39b Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/18198 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/lenovo/x201/mainboard.c')
0 files changed, 0 insertions, 0 deletions