coreboot/src/include/console
Duncan Laurie 727b5455fb Add a specific post code for S3 resume failures
If the firwmare is flashed and the MRC cache is blown away
then it is not possible to resume.

Right now this can be inferred from the event log but it can
be made very clear by adding a unique post code for this event.

1) boot falco
2) flash firmware
3) suspend and then resume
4) check for post code 0xef in log

0 | 2013-08-08 16:27:47 | Log area cleared | 4096
1 | 2013-08-08 16:27:47 | ACPI Enter | S3
2 | 2013-08-08 16:27:55 | System boot | 48
3 | 2013-08-08 16:27:55 | Last post code in previous boot | 0xef | Resume Failure
4 | 2013-08-08 16:27:55 | System Reset
5 | 2013-08-08 16:27:55 | ACPI Wake | S5

Change-Id: I7602d9eef85d3b764781990249ae32b84fe84134
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/65259
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/4458
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
2013-12-21 12:02:43 +01:00
..
cbmem_console.h no-car/cbmemc: Fix compilation 2013-11-24 18:25:18 +01:00
console.h Log device path into CMOS during probe stages 2013-11-26 19:10:31 +01:00
loglevel.h - get rid of ASM_CONSOLE_LOGLEVEL except in two assembler files. 2010-04-01 09:50:32 +00:00
ne2k.h Drop prototype guarding for romcc 2013-05-10 00:06:46 +02:00
post_codes.h Add a specific post code for S3 resume failures 2013-12-21 12:02:43 +01:00
spkmodem.h spkmodem console 2013-04-18 22:47:59 +02:00
vtxprintf.h vtxprintf: Introduce vtxdprintf for the ease of closures 2013-12-07 19:27:34 +01:00