Add prototypes for things we call.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@353 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
0f347c98eb
commit
7c6002b003
1 changed files with 5 additions and 0 deletions
|
|
@ -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 @@ 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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue