coreboot/src
Hung-Te Lin 1afb29721e edid: Do not set vbe_valid when decoding a EDID.
The "vbe_valid" flag is used by Coreboot table to notify payloads if a valid VBE
system is available. It is possible that display system initialization may fail
after a valid EDID is found. In that case, currently payloads will crash when
trying to output to video console.

The original intention for this portion of code is to add some check so
set_vbe_mode_info_valid can abort when no valid EDID is found. However now we do
have platforms (ex, ARM/Exynos) that hard codes EDID structure without calling
decode_edid, so we should let the callers decide if they want to continue
by the return value of decode_edid. We don't need to set vbe_valid when checksum
is correct.

It should be safe to remove the setting of vbe_valid in decode_edid function,
because vbe_valid is also set in set_vbe_mode_info_valid function. Currently all
devices calling decode_edid (tegra124, link, peppy, falco) do invoke
set_vbe_mode_info_valid after decode_edid.

BRANCH=none
BUG=none
TEST=Manually built and tested on following devices:
     nyan_big, link, peppy, falco.

Change-Id: I5232bca92f73b21314d37dcd6c81578232318fd5
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/195371
Reviewed-by: Julius Werner <jwerner@chromium.org>
2014-04-18 00:15:12 +00:00
..
arch console: Make more consoles (including cbmem) work in the bootblock. 2014-04-10 06:05:06 +00:00
console Copy u-boot sources as is and modify the tree to still build 2014-04-11 00:04:09 +00:00
cpu x86: Set BOOT_MEDIA_SPI_BUS 2014-04-15 05:41:46 +00:00
device Remove stale char[] initialization causing unaligned memory access 2014-03-14 03:44:47 +00:00
drivers elog: Do not attempt to init SPI 2014-04-17 23:12:35 +00:00
ec i2c: Replace the i2c API. 2014-04-10 06:05:01 +00:00
include elog: Do not attempt to init SPI 2014-04-17 23:12:35 +00:00
lib edid: Do not set vbe_valid when decoding a EDID. 2014-04-18 00:15:12 +00:00
mainboard tegra124: Setup clock PLLD by approximating display panel pixel clock. 2014-04-15 05:42:20 +00:00
northbridge spi: Remove unused parameters from spi_flash_probe and setup_spi_slave. 2014-04-01 23:21:22 +00:00
soc tegra124: Allow "best" PLLD parameters for unmatched pixel clock. 2014-04-17 23:12:39 +00:00
southbridge x86: Initialize SPI controller explicitly during PCH init 2014-04-17 16:42:37 +00:00
superio pnp: Allow setting of misc register 0xf4 in device tree 2013-12-20 00:37:38 +00:00
vendorcode tegra124: Skip display init when vboot says we don't need it. 2014-04-03 22:41:54 +00:00
Kconfig armv8: add support for armv8 cpu 2014-01-07 02:48:47 +00:00