Author: stepan Date: Fri Dec 17 00:24:27 2010 New Revision: 6185 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6185
Log: fix according to coding guidelines Signed-off-by: Stefan Reinauer stepan@coreboot.org Acked-by: Stefan Reinauer stepan@coreboot.org
Modified: trunk/src/northbridge/intel/i945/raminit.c
Modified: trunk/src/northbridge/intel/i945/raminit.c ============================================================================== --- trunk/src/northbridge/intel/i945/raminit.c Thu Dec 16 20:57:54 2010 (r6184) +++ trunk/src/northbridge/intel/i945/raminit.c Fri Dec 17 00:24:27 2010 (r6185) @@ -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); }