baytrail: don't SMI on tco timer firing
The SMI on TCO timer timeout policy was copied from other chipsets. However, it's not very advantageous to have the TCO timer timeout trigger an SMI unless the firmware was the one responsible for setting up the timer. BUG=chromium:321832 BRANCH=rambi,squawks TEST=Manually enabled TCO timer. TCO fires and logged in eventlog. Change-Id: I420b14d6aa778335a925784a64160fa885cba20f Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/181985 Reviewed-on: http://review.coreboot.org/5035 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
parent
19edc3a2e5
commit
766482d320
|
@ -102,14 +102,14 @@ void southcluster_smm_enable_smi(void)
|
||||||
southcluster_smm_route_gpios();
|
southcluster_smm_route_gpios();
|
||||||
|
|
||||||
/* Enable SMI generation:
|
/* Enable SMI generation:
|
||||||
* - on TCO events
|
|
||||||
* - on APMC writes (io 0xb2)
|
* - on APMC writes (io 0xb2)
|
||||||
* - on writes to SLP_EN (sleep states)
|
* - on writes to SLP_EN (sleep states)
|
||||||
* - on writes to GBL_RLS (bios commands)
|
* - on writes to GBL_RLS (bios commands)
|
||||||
* No SMIs:
|
* No SMIs:
|
||||||
|
* - on TCO events
|
||||||
* - on microcontroller writes (io 0x62/0x66)
|
* - on microcontroller writes (io 0x62/0x66)
|
||||||
*/
|
*/
|
||||||
enable_smi(TCO_EN | APMC_EN | SLP_SMI_EN | GBL_SMI_EN | EOS);
|
enable_smi(APMC_EN | SLP_SMI_EN | GBL_SMI_EN | EOS);
|
||||||
}
|
}
|
||||||
|
|
||||||
void smm_setup_structures(void *gnvs, void *tcg, void *smi1)
|
void smm_setup_structures(void *gnvs, void *tcg, void *smi1)
|
||||||
|
|
Loading…
Reference in New Issue