From 259a39f3930a4032f0ebc8946d26549c5a79bcea Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 16 Dec 2010 23:24:27 +0000 Subject: fix according to coding guidelines Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6185 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/intel/i945/raminit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/northbridge') diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c index 8ae1470810..6915d7882b 100644 --- a/src/northbridge/intel/i945/raminit.c +++ b/src/northbridge/intel/i945/raminit.c @@ -28,7 +28,8 @@ #include "i945.h" #include -struct cbmem_entry *get_cbmem_toc(void) { +struct cbmem_entry *get_cbmem_toc(void) +{ return (struct cbmem_entry *)(get_top_of_ram() - HIGH_MEMORY_SIZE); } -- cgit v1.2.3