Marc Jones has uploaded this change for review. ( https://review.coreboot.org/25756
Change subject: mainboard/google/kahlee: Set SPI speed early ......................................................................
mainboard/google/kahlee: Set SPI speed early
Set the SPI speed for Normal, Fast, AltIO, and TPM in bootblock. This setup is needed when moving AGESA out of the bootblock. It sets the SPI bus speed of the TPM access for verstage.
BUG=b:70558952 TEST=Boot with AGESA moved out of the bootblock.
Change-Id: Ida77d78eb1f290e46b57a46298400ed6c8015e2c Signed-off-by: Marc Jones marc.jones@scarletltd.com --- M src/mainboard/google/kahlee/bootblock/bootblock.c 1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/56/25756/1
diff --git a/src/mainboard/google/kahlee/bootblock/bootblock.c b/src/mainboard/google/kahlee/bootblock/bootblock.c index 843bf4e..577c105 100644 --- a/src/mainboard/google/kahlee/bootblock/bootblock.c +++ b/src/mainboard/google/kahlee/bootblock/bootblock.c @@ -34,6 +34,12 @@
void bootblock_mainboard_init(void) { + /* Set SPI speeds before verstage. Needed for TPM */ + sb_set_spi100(SPI_SPEED_22M, /* Normal */ + SPI_SPEED_66M, /* Fast */ + SPI_SPEED_66M, /* AltIO */ + SPI_SPEED_66M); /* TPM */ + /* Setup TPM decode before verstage */ sb_tpm_decode_spi();