aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/intel/e7505/memmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/intel/e7505/memmap.c')
-rw-r--r--src/northbridge/intel/e7505/memmap.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/northbridge/intel/e7505/memmap.c b/src/northbridge/intel/e7505/memmap.c
index d45006566e..b954c6af74 100644
--- a/src/northbridge/intel/e7505/memmap.c
+++ b/src/northbridge/intel/e7505/memmap.c
@@ -35,6 +35,14 @@ void *cbmem_top(void)
return (void *)tolm;
}
+void northbridge_write_smram(u8 smram);
+
+void northbridge_write_smram(u8 smram)
+{
+ pci_devfn_t mch = PCI_DEV(0, 0, 0);
+ pci_write_config8(mch, SMRAMC, smram);
+}
+
/* platform_enter_postcar() determines the stack to use after
* cache-as-ram is torn down as well as the MTRR settings to use,
* and continues execution in postcar stage. */