From 7c6002b0039616ffcc28d7ccc46aded8a7409963 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Thu, 14 Jun 2007 20:00:58 +0000 Subject: [PATCH] Add prototypes for things we call. Signed-off-by: Ronald G. Minnich Acked-by: Stefan Reinauer git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@353 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- lib/ram.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/ram.c b/lib/ram.c index c9ab679cf8..0f973fd68e 100644 --- a/lib/ram.c +++ b/lib/ram.c @@ -19,6 +19,7 @@ */ #include +#include /** * Print an error message which says why the RAM initialization failed, @@ -32,6 +33,10 @@ void ram_failure(const char *why) 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. *