summaryrefslogtreecommitdiff
path: root/board/gaisler/grsim/grsim.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/gaisler/grsim/grsim.c')
-rw-r--r--board/gaisler/grsim/grsim.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/board/gaisler/grsim/grsim.c b/board/gaisler/grsim/grsim.c
index fa097377df..aa9ba50877 100644
--- a/board/gaisler/grsim/grsim.c
+++ b/board/gaisler/grsim/grsim.c
@@ -10,9 +10,11 @@
#include <common.h>
#include <asm/leon.h>
-phys_size_t initdram(void)
+int initdram(void)
{
- return 1;
+ /* Does not set gd->ram_size here */
+
+ return 0;
}
int checkboard(void)