coreboot/src/drivers
Youness Alaoui e66b85e5b7 UPSTREAM: console/flashsconsole: Add spi flash console for debugging
If CONSOLE_SPI_FLASH config is enabled, we write the cbmem
messages to the 'CONSOLE' area in FMAP which allows us to grab the
log when we read the flash.

This is useful when you don't have usb debugging, and
UART lines are hard to find. Since a failure to boot would
require a hardware flasher anyways, we can get the log
at the same time.

This feature should only be used when no alternative is
found and only when we can't boot the system, because
excessive writes to the flash is not recommended.

This has been tested on purism/librem13 v2 and librem 15 v3 which
run Intel Skylake hardware. It has not been tested on other archs
or with a driver other than the fast_spi.

BUG=none
BRANCH=none
TEST=none

Change-Id: I775e9fdbae152d57d659d300644a548bc5daed02
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: c4b4ff3b1f
Original-Change-Id: I74a297b94f6881d8c27cbe5168f161d8331c3df3
Original-Signed-off-by: Youness Alaoui <youness.alaoui@puri.sm>
Original-Reviewed-on: https://review.coreboot.org/19849
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-by: Philippe Mathieu-Daud <philippe.mathieu.daude@gmail.com>
Reviewed-on: https://chromium-review.googlesource.com/523981
2017-06-05 18:33:49 -07:00
..
ams drivers/ams: Set default values in Kconfig 2015-11-22 01:39:44 +01:00
aspeed UPSTREAM: drivers/{aspeed,xgi_z9s}/Kconfig: Don't override NATIVE_VGA_USE_EDID 2017-05-07 07:41:14 -07:00
ati/ragexl UPSTREAM: src/drivers: Add required space before opening parenthesis '(' 2016-09-04 19:36:54 -07:00
dec/21143 kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
elog UPSTREAM: elog: Print timestamp when logging event 2017-04-19 08:23:06 -07:00
emulation/qemu drivers/emulation: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:37:08 +02:00
generic UPSTREAM: drivers/regulator: Add driver for handling GPIO-based fixed regulator 2016-12-19 09:55:05 -08:00
gic arm64: Remove cpu intialization through device-tree 2015-11-07 03:29:35 +01:00
i2c UPSTREAM: rx6110sa: Add possibility to use both I2C and SMBus for the RTC 2017-06-01 14:43:43 -07:00
ics/954309 drivers/ics: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:43 +02:00
intel UPSTREAM: gma/acpi: Fix argument count to _DSS 2017-05-30 00:15:39 -07:00
ipmi UPSTREAM: src/drivers: Add required space before opening parenthesis '(' 2016-09-04 19:36:54 -07:00
lenovo UPSTREAM: Remove extra newlines from the end of all coreboot files. 2016-08-04 23:36:56 -07:00
maxim drivers/aspeed: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:17 +02:00
net UPSTREAM: drivers/net/rt8168: Add a macaddress cbfsfile using Kconfig 2017-01-28 04:11:03 -08:00
parade UPSTREAM: lib/edid.c: Differentiate between absent and non-conformant EDID 2017-05-07 07:41:12 -07:00
pc80 UPSTREAM: Kconfig: Move and clean up CONFIG_VGA 2017-05-23 23:58:49 -07:00
ricoh/rce822 UPSTREAM: buildsystem: Drop explicit (k)config.h includes 2016-12-09 03:29:54 -08:00
siemens/nc_fpga UPSTREAM: siemens/nc_fpga: Add driver for Siemens NC FPGA 2016-07-07 01:09:51 -07:00
sil/3114 drivers/sil: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:05 +02:00
spi UPSTREAM: console/flashsconsole: Add spi flash console for debugging 2017-06-05 18:33:49 -07:00
ti drivers/ti: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:36 +02:00
uart UPSTREAM: uart: Fix bug in {uart8250, uart8250_mem, ns16550}_rx_byte functions 2017-05-18 18:07:14 -07:00
usb UPSTREAM: drivers/usb: Add option for baudrate of FT232H UART 2016-11-21 11:54:11 -08:00
xgi UPSTREAM: drivers/{aspeed,xgi_z9s}/Kconfig: Don't override NATIVE_VGA_USE_EDID 2017-05-07 07:41:14 -07:00
xpowers/axp209 UPSTREAM: Remove non-ascii & unprintable characters 2016-08-05 11:45:20 -07:00