summaryrefslogtreecommitdiff
path: root/src/lib/generic_sdram.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/generic_sdram.c')
-rw-r--r--src/lib/generic_sdram.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/generic_sdram.c b/src/lib/generic_sdram.c
index cdb06cd73f..7be0537484 100644
--- a/src/lib/generic_sdram.c
+++ b/src/lib/generic_sdram.c
@@ -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)