aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/intel/sandybridge/northbridge.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-09-06 10:46:22 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2013-09-11 07:18:53 +0200
commitf9f74afdd7b39c12d399a900f3af326a33c87387 (patch)
tree064d869087e861b668eb79b07203d0c40cc772d1 /src/northbridge/intel/sandybridge/northbridge.c
parentbc90e15d3f8e841ccf229fca5d7df99436ff4bdb (diff)
CBMEM x86: Unify get_cbmem_toc()
Remove any chipset-specific implementations and use arch-specific implementation of get_cbmem_table() instead. Change-Id: I338ee2c1bd51f5e517462115170dc926e040159e Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/3907 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/northbridge/intel/sandybridge/northbridge.c')
-rw-r--r--src/northbridge/intel/sandybridge/northbridge.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/northbridge/intel/sandybridge/northbridge.c b/src/northbridge/intel/sandybridge/northbridge.c
index 4abcec33cb..a03b8a6492 100644
--- a/src/northbridge/intel/sandybridge/northbridge.c
+++ b/src/northbridge/intel/sandybridge/northbridge.c
@@ -58,14 +58,6 @@ unsigned long get_top_of_ram(void)
return (unsigned long) tom;
}
-struct cbmem_entry *get_cbmem_toc(void)
-{
- static struct cbmem_entry *toc = NULL;
- if (!toc)
- toc = (struct cbmem_entry *)(get_top_of_ram() - HIGH_MEMORY_SIZE);
- return toc;
-}
-
/* Reserve everything between A segment and 1MB:
*
* 0xa0000 - 0xbffff: legacy VGA