Get rid of a few warnings:
1. Add some more prototypes to lib.h 2. Include console.h when not using romcc 3. Eliminate an unused function 4. Set a default for SSE2, since it is just for ramtest performance Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5260 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include <lib.h> /* Prototypes */
|
||||
|
||||
#ifndef RAMINIT_SYSINFO
|
||||
#define RAMINIT_SYSINFO 0
|
||||
@@ -12,14 +13,6 @@ static inline void print_debug_sdram_8(const char *strval, uint32_t val)
|
||||
#endif
|
||||
}
|
||||
|
||||
void sdram_no_memory(void)
|
||||
{
|
||||
print_err("No memory!!\r\n");
|
||||
while(1) {
|
||||
hlt();
|
||||
}
|
||||
}
|
||||
|
||||
/* Setup SDRAM */
|
||||
#if RAMINIT_SYSINFO == 1
|
||||
void sdram_initialize(int controllers, const struct mem_controller *ctrl, void *sysinfo)
|
||||
|
Reference in New Issue
Block a user