lynxpoint: remove DEBUG_PERIODIC_SMIS
This was put in for debugging and experimentation on i945 and has been copied around since. Drop it from lynxpoint. Change-Id: I0b53f4e1362cd3ce703625ef2b4988139c48b989 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: http://review.coreboot.org/2814 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
55cdf55190
commit
f5966b14e8
|
@ -255,12 +255,6 @@ static void pch_power_options(device_t dev)
|
||||||
reg16 = pci_read_config16(dev, GEN_PMCON_1);
|
reg16 = pci_read_config16(dev, GEN_PMCON_1);
|
||||||
reg16 &= ~(3 << 0); // SMI# rate 1 minute
|
reg16 &= ~(3 << 0); // SMI# rate 1 minute
|
||||||
reg16 &= ~(1 << 10); // Disable BIOS_PCI_EXP_EN for native PME
|
reg16 &= ~(1 << 10); // Disable BIOS_PCI_EXP_EN for native PME
|
||||||
#if DEBUG_PERIODIC_SMIS
|
|
||||||
/* Set DEBUG_PERIODIC_SMIS in pch.h to debug using
|
|
||||||
* periodic SMIs.
|
|
||||||
*/
|
|
||||||
reg16 |= (3 << 0); // Periodic SMI every 8s
|
|
||||||
#endif
|
|
||||||
pci_write_config16(dev, GEN_PMCON_1, reg16);
|
pci_write_config16(dev, GEN_PMCON_1, reg16);
|
||||||
|
|
||||||
// Set the board's GPI routing.
|
// Set the board's GPI routing.
|
||||||
|
|
|
@ -79,7 +79,6 @@
|
||||||
#define DEFAULT_RCBA 0xfed1c000
|
#define DEFAULT_RCBA 0xfed1c000
|
||||||
|
|
||||||
#ifndef __ACPI__
|
#ifndef __ACPI__
|
||||||
#define DEBUG_PERIODIC_SMIS 0
|
|
||||||
|
|
||||||
#if defined (__SMM__) && !defined(__ASSEMBLER__)
|
#if defined (__SMM__) && !defined(__ASSEMBLER__)
|
||||||
void intel_pch_finalize_smm(void);
|
void intel_pch_finalize_smm(void);
|
||||||
|
|
|
@ -281,12 +281,6 @@ void southbridge_smm_init(void)
|
||||||
#endif
|
#endif
|
||||||
smi_en |= TCO_EN;
|
smi_en |= TCO_EN;
|
||||||
smi_en |= APMC_EN;
|
smi_en |= APMC_EN;
|
||||||
#if DEBUG_PERIODIC_SMIS
|
|
||||||
/* Set DEBUG_PERIODIC_SMIS in pch.h to debug using
|
|
||||||
* periodic SMIs.
|
|
||||||
*/
|
|
||||||
smi_en |= PERIODIC_EN;
|
|
||||||
#endif
|
|
||||||
smi_en |= SLP_SMI_EN;
|
smi_en |= SLP_SMI_EN;
|
||||||
#if 0
|
#if 0
|
||||||
smi_en |= BIOS_EN;
|
smi_en |= BIOS_EN;
|
||||||
|
|
Loading…
Reference in New Issue