[LinuxBIOS] r353 - LinuxBIOSv3/lib
svn at openbios.org
svn at openbios.org
Thu Jun 14 22:00:58 CEST 2007
Author: rminnich
Date: 2007-06-14 22:00:58 +0200 (Thu, 14 Jun 2007)
New Revision: 353
Modified:
LinuxBIOSv3/lib/ram.c
Log:
Add prototypes for things we call.
Signed-off-by: Ronald G. Minnich <rminnich at gmail.com>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified: LinuxBIOSv3/lib/ram.c
===================================================================
--- LinuxBIOSv3/lib/ram.c 2007-06-14 17:50:58 UTC (rev 352)
+++ LinuxBIOSv3/lib/ram.c 2007-06-14 20:00:58 UTC (rev 353)
@@ -19,6 +19,7 @@
*/
#include <hlt.h>
+#include <console.h>
/**
* Print an error message which says why the RAM initialization failed,
@@ -32,6 +33,10 @@
hlt();
}
+/* Northbridge or memory controller code must define these functions */
+void ram_set_registers(void *ctrl, int i);
+int ram_set_spd_registers(void *ctrl, int i);
+void ram_enable(int controllers, void *ctrl);
/**
* ram_initialize() is is the main RAM init function.
*
More information about the coreboot
mailing list