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: Iec66f5b8e3ad62f14d836a538dc7801e4ca669e7 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/376944 Commit-Ready: Julius Werner <jwerner@chromium.org> Tested-by: Simon Glass <sjg@google.com> Reviewed-by: Julius Werner <jwerner@chromium.org> |
||
|---|---|---|
| .. | ||
| tpm | ||
| adesto.c | ||
| amic.c | ||
| atmel.c | ||
| boot_device_rw_nommap.c | ||
| cbfs_spi.c | ||
| eon.c | ||
| gigadevice.c | ||
| Kconfig | ||
| macronix.c | ||
| Makefile.inc | ||
| spansion.c | ||
| spi_flash.c | ||
| spi_flash_internal.h | ||
| spiconsole.c | ||
| sst.c | ||
| stmicro.c | ||
| winbond.c | ||