coreboot/src/mainboard/intel
Alexandru Gagniuc 47818b4d60 fsp/cache_as_ram.inc and boards: Fix incorrect usage of POST_IO
POST_IO is a user-visible config bool. fsp_1_0/cache_as_ram.inc made a
mess of it, by forcing a build-time error when CONFIG_POST_IO was not
being set. fsp 1.0 boards ended 'select'ing this in their Kconfig.

Refactor fsp/cache_as_ram.inc handling of POST codes, and remove the
"select POST_IO" from boards that have it. Instead of implementing an
ad-hoc changing post code display and a delay based on port 0xed, just
encode the FSP failure code in the POST code. Since FSP failure codes
are > 16, we can encode the failure code in the lower nibble, and theirfailing function in the upper nibble.

Change-Id: Iaa3e6533e8406b16ec0689abd704984d79293952
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-on: http://review.coreboot.org/8485
Tested-by: build bot (Jenkins)
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
2015-10-06 04:09:47 +00:00
..
bakersport_fsp fsp/cache_as_ram.inc and boards: Fix incorrect usage of POST_IO 2015-10-06 04:09:47 +00:00
baskingridge ChromeOS: Fix Kconfig dependencies 2015-08-21 19:53:41 +00:00
bayleybay_fsp fsp/cache_as_ram.inc and boards: Fix incorrect usage of POST_IO 2015-10-06 04:09:47 +00:00
d810e2cb Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
d945gclf igd.asl rewrite 2015-05-28 08:27:10 +02:00
eagleheights Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
emeraldlake2 sandybridge ivybridge: Treat native init as first class citizen 2015-10-03 22:22:54 +00:00
kunimitsu kunimitsu: Fix typo for WLAN ACPI device name 2015-09-28 09:34:38 +00:00
minnowmax fsp/cache_as_ram.inc and boards: Fix incorrect usage of POST_IO 2015-10-06 04:09:47 +00:00
mtarvon Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
sklrvp sklrvp: Remove thermal.h and functions from acpi_tables.c 2015-09-10 09:54:23 +00:00
strago Kconfig: Don't 'select' options based on PAYLOAD_SEABIOS 2015-08-30 07:50:18 +00:00
truxton Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
wtm2 ChromeOS: Fix Kconfig dependencies 2015-08-21 19:53:41 +00:00
Kconfig kconfig: automatically include mainboards 2015-04-18 08:31:08 +02:00
Kconfig.name kconfig: automatically include mainboards 2015-04-18 08:31:08 +02:00