diff options
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/intel/i945/raminit.c | 5 | ||||
-rw-r--r-- | src/northbridge/intel/i945/raminit.h | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c index 7e2cf81d28..8ae1470810 100644 --- a/src/northbridge/intel/i945/raminit.c +++ b/src/northbridge/intel/i945/raminit.c @@ -26,6 +26,11 @@ #include <arch/romcc_io.h> #include "raminit.h" #include "i945.h" +#include <cbmem.h> + +struct cbmem_entry *get_cbmem_toc(void) { + return (struct cbmem_entry *)(get_top_of_ram() - HIGH_MEMORY_SIZE); +} /* Debugging macros. */ #if CONFIG_DEBUG_RAM_SETUP diff --git a/src/northbridge/intel/i945/raminit.h b/src/northbridge/intel/i945/raminit.h index 197a6005fa..e3b8491fcd 100644 --- a/src/northbridge/intel/i945/raminit.h +++ b/src/northbridge/intel/i945/raminit.h @@ -71,5 +71,4 @@ void sdram_initialize(int boot_path); unsigned long get_top_of_ram(void); int fixup_i945_errata(void); void udelay(u32 us); - #endif /* RAMINIT_H */ |