coreboot/src
Hung-Te Lin 1c8ee21fd3 edid: Change static variables to auto variables.
To support parsing multiple EDID blobs, the static "decode results" flags should
be changed to auto variables inside decode_edid.

This is done by packaging static variables into a structure inside decode_edid.
We also revised some functions (manufacturer_name, do_checksum) to avoid
accessing global variables directly. Extension (and detail block) parsing may
need to access and return all parsed context so we pass the whole structure to
it.

BRANCH=none
BUG=none
TEST=emerge-nyan coreboot chromeos-bootimage
     # See EDID parsed correctly on Nyan.

Original-Change-Id: Ieca93d446bacf655c145dffdfa6cc6f5dc87ac26
Original-Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/195372
Original-Reviewed-by: Gabe Black <gabeblack@chromium.org>
(cherry picked from commit ed45909df2)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: I17cdfa770181a6eaac9d1050d340c8e052572b4a
Reviewed-on: http://review.coreboot.org/7834
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2014-12-17 04:51:00 +01:00
..
arch arm: Add support for a preram_cbmem_console symbol. 2014-12-15 23:27:53 +01:00
console ipq8064: prepare UART driver for use in coreboot 2014-12-05 20:22:47 +01:00
cpu Drop SC520 and related boards 2014-12-16 21:18:43 +01:00
device ddr3: Plumber DIMM type to parsed structure. 2014-12-07 15:18:41 +01:00
drivers elog: Use the RTC driver interface instead of reading CMOS directly. 2014-12-17 02:12:17 +01:00
ec i2c: Replace the i2c API. 2014-12-16 00:02:43 +01:00
include elog: Do not attempt to init SPI 2014-12-17 02:12:03 +01:00
lib edid: Change static variables to auto variables. 2014-12-17 04:51:00 +01:00
mainboard blaze: Change samsung RAMCODE to samsung-2GB-204/samsung-4GB-204 2014-12-16 23:31:29 +01:00
northbridge Drop GX1, CS5330 and related boards 2014-12-16 21:17:36 +01:00
soc tegra124: change PLLD VCO calculation algorithm 2014-12-17 01:07:53 +01:00
southbridge southbridge/sis: Spelling/comment fixes 2014-12-17 02:30:12 +01:00
superio Drop obsolete SuperIOs used by GX1 systems only 2014-12-16 21:18:07 +01:00
vendorcode amd/agesa/f*/Lib/amdlib.c: Integer overflow in loop construct 2014-12-16 17:21:44 +01:00
Kconfig Kconfig: Remove ACPI_SSDTX_NUM. 2014-12-07 21:06:34 +01:00