switch-coreboot/src
Youness Alaoui c4b4ff3b1f 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.

Change-Id: I74a297b94f6881d8c27cbe5168f161d8331c3df3
Signed-off-by: Youness Alaoui <youness.alaoui@puri.sm>
Reviewed-on: https://review.coreboot.org/19849
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
2017-06-04 18:44:56 +02:00
..
acpi src/acpi: Capitalize ACPI and SATA 2016-07-31 19:25:40 +02:00
arch arch/arm/include/armv7/arch: Correct keyword organization in cpu.h 2017-06-02 18:31:03 +02:00
commonlib commonlib: Move drivers/storage into commonlib/storage 2017-05-12 18:20:33 +02:00
console console/flashsconsole: Add spi flash console for debugging 2017-06-04 18:44:56 +02:00
cpu arch/x86: Add function to determine if we're currently running from CAR 2017-05-30 22:19:25 +02:00
device device/device_util: Add function to determine bridge state 2017-06-02 18:51:13 +02:00
drivers console/flashsconsole: Add spi flash console for debugging 2017-06-04 18:44:56 +02:00
ec ec/ene_kb3940q: correct ACPI battery data fed into ToString() 2017-06-04 18:42:07 +02:00
include console/flashsconsole: Add spi flash console for debugging 2017-06-04 18:44:56 +02:00
lib lib/edid: Split out fill_lb_framebuffer() 2017-05-30 18:32:44 +02:00
mainboard google/slippy: populate PEI SPD data for all channels 2017-06-04 18:44:15 +02:00
northbridge Kconfig: Introduce HAVE_(VBE_)LINEAR_FRAMEBUFFER 2017-06-02 18:37:45 +02:00
soc soc/intel/skylake: Add macro for setting GPIO interrupt trigger mode. 2017-06-03 07:18:18 +02:00
southbridge sb/intel/bd82x6x: Disable unused bridges 2017-06-02 18:51:40 +02:00
superio superio/nuvoton: Make SuperIO config functions externally available 2017-05-11 16:40:55 +02:00
vboot vboot: Separate board name and version number in FWID with a dot 2017-04-29 01:44:10 +02:00
vendorcode vendorcode/intel/fsp/fsp2_0/glk: Add FSP header files for GLK 2017-05-12 05:32:39 +02:00
Kconfig lib/edid: Split out fill_lb_framebuffer() 2017-05-30 18:32:44 +02:00