summaryrefslogtreecommitdiff
path: root/board/tqc/tqm834x/tqm834x.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/tqc/tqm834x/tqm834x.c')
-rw-r--r--board/tqc/tqm834x/tqm834x.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/board/tqc/tqm834x/tqm834x.c b/board/tqc/tqm834x/tqm834x.c
index a05ae2a..0968e49 100644
--- a/board/tqc/tqm834x/tqm834x.c
+++ b/board/tqc/tqm834x/tqm834x.c
@@ -66,7 +66,7 @@ int board_early_init_r (void) {
/**************************************************************************
* DRAM initalization and size detection
*/
-phys_size_t initdram(void)
+int initdram(void)
{
long bank_size;
long size;
@@ -112,7 +112,9 @@ phys_size_t initdram(void)
if(size < DDR_MAX_SIZE_PER_CS) break;
}
- return size;
+ gd->ram_size = size;
+
+ return 0;
}
/**************************************************************************