summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/coreboot/sdram.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/coreboot/sdram.c')
-rw-r--r--arch/x86/cpu/coreboot/sdram.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/cpu/coreboot/sdram.c b/arch/x86/cpu/coreboot/sdram.c
index 7115e7a..82407af 100644
--- a/arch/x86/cpu/coreboot/sdram.c
+++ b/arch/x86/cpu/coreboot/sdram.c
@@ -104,7 +104,7 @@ int dram_init(void)
return 0;
}
-void dram_init_banksize(void)
+int dram_init_banksize(void)
{
int i, j;
@@ -121,4 +121,6 @@ void dram_init_banksize(void)
}
}
}
+
+ return 0;
}