coreboot-kgpe-d16/src/drivers/spi
Simon Glass aa58a9eebf spi: Add a way to show SPI transfer speed for reads
SPI read speed directly impacts boot time and we do quite a lot of
reading.

Add a way to easily find out the speed of SPI flash reads within
coreboot.

Write speed is less important since there are very few writes and they
are small.

BUG=chrome-os-partner:56556
BRANCH=none
TEST=run on gru with SPI_SPEED_DEBUG set to 1. See the output messages:
read SPI 627d4 7d73: 18455 us, 1740 KB/s, 13.920 Mbps

Change-Id: Id3814bd2b7bd045cdfcc67eb1fabc861bf9ed3b2
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 82cb93f6be47efce3b0a3843bab89d2381baef89
Original-Change-Id: Iec66f5b8e3ad62f14d836a538dc7801e4ca669e7
Original-Signed-off-by: Simon Glass <sjg@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/376944
Original-Commit-Ready: Julius Werner <jwerner@chromium.org>
Original-Tested-by: Simon Glass <sjg@google.com>
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/16701
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
2016-10-06 21:49:25 +02:00
..
tpm Kconfig: Update default hex values to start with 0x 2016-10-02 19:08:15 +02:00
adesto.c drivers/spi: Pass flash parameters from coreboot to payload 2015-04-17 09:21:07 +02:00
amic.c drivers/spi: Pass flash parameters from coreboot to payload 2015-04-17 09:21:07 +02:00
atmel.c drivers/spi: Pass flash parameters from coreboot to payload 2015-04-17 09:21:07 +02:00
boot_device_rw_nommap.c drivers/spi: remove unconditional RW boot device initialization 2016-08-24 15:46:38 +02:00
cbfs_spi.c spi: Add a way to show SPI transfer speed for reads 2016-10-06 21:49:25 +02:00
eon.c spi: Add function to read flash status register 2015-04-17 09:21:22 +02:00
gigadevice.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
Kconfig drivers/spi: provide optional implementation of boot_device_rw() 2016-08-19 18:15:08 +02:00
macronix.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
Makefile.inc drivers/spi: provide optional implementation of boot_device_rw() 2016-08-19 18:15:08 +02:00
spansion.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
spi_flash.c drivers/spi: ensure SPI flash is boot device for coreboot tables 2016-08-19 18:14:20 +02:00
spi_flash_internal.h spi: Add function to read flash status register 2015-04-17 09:21:22 +02:00
spiconsole.c Remove extra newlines from the end of all coreboot files. 2016-07-31 18:19:33 +02:00
sst.c spi/SST: fix write support for SST25VF064C 2016-03-11 18:55:51 +01:00
stmicro.c drivers/spi: Add support for Micron N25Q128A 2016-08-05 07:41:59 +02:00
winbond.c spi: Add support for Winbond W25Q256 2016-05-09 08:30:22 +02:00