summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/efi/sdram.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/efi/sdram.c')
-rw-r--r--arch/x86/cpu/efi/sdram.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/cpu/efi/sdram.c b/arch/x86/cpu/efi/sdram.c
index 51599445ab..413e55b596 100644
--- a/arch/x86/cpu/efi/sdram.c
+++ b/arch/x86/cpu/efi/sdram.c
@@ -22,8 +22,10 @@ int dram_init(void)
return 0;
}
-void dram_init_banksize(void)
+int dram_init_banksize(void)
{
gd->bd->bi_dram[0].start = efi_get_ram_base();
gd->bd->bi_dram[0].size = CONFIG_EFI_RAM_SIZE;
+
+ return 0;
}