coreboot-kgpe-d16/src/mainboard/google
Gabe Black 967058f807 spi: Factor EC protocol details out of the SPI drivers.
The SPI drivers for tegra and exynos5420 have code in them which waits for a
frame header and leaves filler data out. The SPI driver shouldn't have support
for frame headers directly. If a device uses them, it should support them
itself. That makes the SPI drivers simpler and easier to write.

When moving the frame handling logic into the EC support code, EC communication
continued to work on tegra but no longer worked on exynos5420. That suggested
the SPI driver on the 5420 wasn't working correctly, so I replaced that with
the implementation in depthcharge. Unfortunately that implementation doesn't
support waiting for a frame header for the EC, so these changes are combined
into one.

BUG=None
TEST=Built and booted on pit. Built and booted on nyan. In both cases,
verified that there were no error messages from the SPI drivers or the EC
code.
BRANCH=None

Original-Change-Id: I62a68820c632f154acece94f54276ddcd1442c09
Original-Signed-off-by: Gabe Black <gabeblack@google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/191192
Original-Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Original-Commit-Queue: Gabe Black <gabeblack@chromium.org>
Original-Tested-by: Gabe Black <gabeblack@chromium.org>
(cherry picked from commit 4fcfed280ad70f14a013d5353aa0bee0af540630)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: Id8824523abc7afcbc214845901628833e135d142
Reviewed-on: http://review.coreboot.org/7706
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <gaumless@gmail.com>
2014-12-09 20:32:06 +01:00
..
bolt Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
butterfly Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
daisy arm: Redesign, clarify and clean up cache related code 2014-11-10 21:34:49 +01:00
falco Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
link Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
nyan spi: Factor EC protocol details out of the SPI drivers. 2014-12-09 20:32:06 +01:00
nyan_big spi: Factor EC protocol details out of the SPI drivers. 2014-12-09 20:32:06 +01:00
nyan_blaze spi: Factor EC protocol details out of the SPI drivers. 2014-12-09 20:32:06 +01:00
panther Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
parrot Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
peach_pit arm: Redesign, clarify and clean up cache related code 2014-11-10 21:34:49 +01:00
peppy Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
rambi src: Too many terminators ';;' at end of stmts, stop Skynet 2014-11-09 12:26:34 +01:00
samus mainboard/google/samus: Fix usage of GNU field designator ext 2014-12-07 21:31:04 +01:00
slippy Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
snow snow: Rename snow to daisy. 2014-09-25 19:09:47 +02:00
storm Mark non-executable files non-executable 2014-12-01 17:33:07 +01:00
stout Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
Kconfig blaze: Create a nyan_blaze mainboard, copied from nyan_big 2014-11-14 07:27:06 +01:00