diff options
author | Martin Roth <martinroth@google.com> | 2015-09-28 15:27:24 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2015-10-05 17:43:11 +0000 |
commit | 3a54318856428cda41c5a45e41c4da727d352bf6 (patch) | |
tree | b318ca7a8576d130ec18e853543d21542114d41b /src/drivers/spi/Kconfig | |
parent | f35f5ff3cd86b247a1e8ff1df8d071a3a4556079 (diff) | |
download | coreboot-3a54318856428cda41c5a45e41c4da727d352bf6.tar.xz |
Add EM100 'hyper term' spi console support in ramstage & smm
The EM100Pro allows the debug console to be sent over the SPI bus.
This is not yet working in romstage due to the use of static variables
in the SPI driver code. It is also not working on chipsets that have
SPI write buffers of less than 10 characters due to the 9 byte
command/header length specified by the EM100 protocol.
While this currently works only with the EM100, it seems like it would
be useful on any logic analyzer with SPI debug - just filter on command
bytes of 0x11.
Change-Id: Icd42ccd96cab0a10a4e70f4b02ecf9de8169564b
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: http://review.coreboot.org/11743
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/drivers/spi/Kconfig')
-rw-r--r-- | src/drivers/spi/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/spi/Kconfig b/src/drivers/spi/Kconfig index 4052bb4713..dedb88f664 100644 --- a/src/drivers/spi/Kconfig +++ b/src/drivers/spi/Kconfig @@ -137,3 +137,7 @@ config SPI_FLASH_FAST_READ_DUAL_OUTPUT_3B to the chip on MOSI and data is received on both MOSI and MISO. endif # SPI_FLASH + +config HAVE_SPI_CONSOLE_SUPPORT + def_bool n + |