diff options
author | Stefan Reinauer <stepan@coreboot.org> | 2010-12-16 23:24:27 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-12-16 23:24:27 +0000 |
commit | 259a39f3930a4032f0ebc8946d26549c5a79bcea (patch) | |
tree | 451987ba31fb8930514bd718001ff4015f222e28 /src/northbridge | |
parent | b9c224e9c53c8e0df9835c0cfe5d28f98678c375 (diff) | |
download | coreboot-259a39f3930a4032f0ebc8946d26549c5a79bcea.tar.xz |
fix according to coding guidelines
Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6185 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/intel/i945/raminit.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <cbmem.h> -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); } |