diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2012-06-23 17:06:47 -0700 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2012-07-25 22:25:22 +0200 |
commit | 800e950d646d687aa4231e8eced06a0615ba7344 (patch) | |
tree | 18213cc8691ec4c45211842dedfcea2da7e0d843 /src/southbridge/intel/bd82x6x/smi.c | |
parent | 27e5aacc522a4ce97ffd8d57a93042d9703d70fe (diff) | |
download | coreboot-800e950d646d687aa4231e8eced06a0615ba7344.tar.xz |
ELOG: Log boot-time events found in southbridge
This is called from the SMI handler install because those
setup functions clear many of these registers.
Ensure that these events show up in the log as appropriate.
Example log output:
159 | 2012-06-23 14:31:54 | SUS Power Fail
160 | 2012-06-23 14:31:54 | System Reset
161 | 2012-06-23 14:31:54 | ACPI Wake | S5
Change-Id: I48c423c10ee7e6c2829bcc95f6cfabb4979c25a9
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/1319
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/southbridge/intel/bd82x6x/smi.c')
-rw-r--r-- | src/southbridge/intel/bd82x6x/smi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/southbridge/intel/bd82x6x/smi.c b/src/southbridge/intel/bd82x6x/smi.c index da1084005f..bd4d32c135 100644 --- a/src/southbridge/intel/bd82x6x/smi.c +++ b/src/southbridge/intel/bd82x6x/smi.c @@ -370,6 +370,11 @@ static void smm_install(void) void smm_init(void) { +#if CONFIG_ELOG + /* Log events from chipset before clearing */ + pch_log_state(); +#endif + /* Put SMM code to 0xa0000 */ smm_install(); |