summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/qemu/dram.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/qemu/dram.c')
-rw-r--r--arch/x86/cpu/qemu/dram.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/cpu/qemu/dram.c b/arch/x86/cpu/qemu/dram.c
index a88d0d2654..9d84af5ef2 100644
--- a/arch/x86/cpu/qemu/dram.c
+++ b/arch/x86/cpu/qemu/dram.c
@@ -26,10 +26,12 @@ int dram_init(void)
return 0;
}
-void dram_init_banksize(void)
+int dram_init_banksize(void)
{
gd->bd->bi_dram[0].start = 0;
gd->bd->bi_dram[0].size = gd->ram_size;
+
+ return 0;
}
/*