diff options
Diffstat (limited to 'src/northbridge/intel/sandybridge/finalize.c')
-rw-r--r-- | src/northbridge/intel/sandybridge/finalize.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/northbridge/intel/sandybridge/finalize.c b/src/northbridge/intel/sandybridge/finalize.c index a8f8603f02..50fc7555f6 100644 --- a/src/northbridge/intel/sandybridge/finalize.c +++ b/src/northbridge/intel/sandybridge/finalize.c @@ -21,18 +21,18 @@ void intel_sandybridge_finalize_smm(void) { - pci_or_config16(PCI_DEV_SNB, 0x50, 1 << 0); /* GGC */ - pci_or_config16(PCI_DEV_SNB, 0x58, 1 << 2); /* PAVP Lock */ - pci_or_config32(PCI_DEV_SNB, 0x5c, 1 << 0); /* DPR */ + pci_or_config16(PCI_DEV_SNB, GGC, 1 << 0); + pci_or_config16(PCI_DEV_SNB, PAVPC, 1 << 2); + pci_or_config32(PCI_DEV_SNB, DPR, 1 << 0); pci_or_config32(PCI_DEV_SNB, 0x78, 1 << 10); /* ME */ - pci_or_config32(PCI_DEV_SNB, 0x90, 1 << 0); /* REMAPBASE */ - pci_or_config32(PCI_DEV_SNB, 0x98, 1 << 0); /* REMAPLIMIT */ - pci_or_config32(PCI_DEV_SNB, 0xa0, 1 << 0); /* TOM */ - pci_or_config32(PCI_DEV_SNB, 0xa8, 1 << 0); /* TOUUD */ - pci_or_config32(PCI_DEV_SNB, 0xb0, 1 << 0); /* BDSM */ - pci_or_config32(PCI_DEV_SNB, 0xb4, 1 << 0); /* BGSM */ - pci_or_config32(PCI_DEV_SNB, 0xb8, 1 << 0); /* TSEGMB */ - pci_or_config32(PCI_DEV_SNB, 0xbc, 1 << 0); /* TOLUD */ + pci_or_config32(PCI_DEV_SNB, REMAPBASE, 1 << 0); + pci_or_config32(PCI_DEV_SNB, REMAPLIMIT, 1 << 0); + pci_or_config32(PCI_DEV_SNB, TOM, 1 << 0); + pci_or_config32(PCI_DEV_SNB, TOUUD, 1 << 0); + pci_or_config32(PCI_DEV_SNB, BDSM, 1 << 0); + pci_or_config32(PCI_DEV_SNB, BGSM, 1 << 0); + pci_or_config32(PCI_DEV_SNB, TSEGMB, 1 << 0); + pci_or_config32(PCI_DEV_SNB, TOLUD, 1 << 0); MCHBAR32_OR(0x5500, 1 << 0); /* PAVP */ MCHBAR32_OR(0x5f00, 1 << 31); /* SA PM */ |