coreboot/src/drivers/spi
Vadim Bendebury 3111537e7b tpm: use 4 byte quantities when retrieving firmware version
The CR50 device is capable of reporting its firmware version in 4 byte
quantities, but the recently introduced code retrieves the version one
byte at a time.

With this fix the version is retrieved in 4 byte chunks.

BRANCH=none
BUG=none

TEST=the version is still reported properly, as reported by the AP
     firmware console log:

  localhost ~ # grep cr50 /sys/firmware/log
  Firmware version: cr50_v1.1.4804-c64cf24
  localhost ~ #

Change-Id: I04116881a30001e35e989e51ec1567263f9149a6
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/356542
Reviewed-by: Andrey Pronin <apronin@chromium.org>
2016-06-28 02:18:40 -07:00
..
tpm tpm: use 4 byte quantities when retrieving firmware version 2016-06-28 02:18:40 -07: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
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 tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
macronix.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
Makefile.inc tpm2: add SPI TPM driver 2016-06-17 15:37:49 -07:00
spansion.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
spi_flash.c arm, arm64, mips: Add rough static stack size checks with -Wstack-usage 2015-07-29 20:25:59 +02:00
spi_flash_internal.h spi: Add function to read flash status register 2015-04-17 09:21:22 +02:00
spiconsole.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
sst.c spi/SST: fix write support for SST25VF064C 2016-03-11 18:55:51 +01:00
stmicro.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
winbond.c spi: Add support for Winbond W25Q256 2016-05-09 08:30:22 +02:00