diff options
author | Simon Glass <sjg@chromium.org> | 2014-11-06 13:20:08 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-11-21 07:24:09 +0100 |
commit | e1ffd81797d59652124bd9cda813a58644f5dea9 (patch) | |
tree | f6cd2ec5d83ceb65f472480336ab1b542464afc0 /arch/x86/cpu/coreboot/sdram.c | |
parent | 8b37c7694f1eace82626d00fbfb85311ebf0d220 (diff) | |
download | talos-obmc-uboot-e1ffd81797d59652124bd9cda813a58644f5dea9.tar.gz talos-obmc-uboot-e1ffd81797d59652124bd9cda813a58644f5dea9.zip |
x86: Fix up some missing prototypes
Some functions are missing prototypes. Fix those that are specific to x86.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/coreboot/sdram.c')
-rw-r--r-- | arch/x86/cpu/coreboot/sdram.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/cpu/coreboot/sdram.c b/arch/x86/cpu/coreboot/sdram.c index ca651c7584..342ff300b8 100644 --- a/arch/x86/cpu/coreboot/sdram.c +++ b/arch/x86/cpu/coreboot/sdram.c @@ -14,6 +14,7 @@ #include <asm/init_helpers.h> #include <asm/processor.h> #include <asm/sections.h> +#include <asm/zimage.h> #include <asm/arch/sysinfo.h> #include <asm/arch/tables.h> @@ -99,7 +100,7 @@ int dram_init(void) return calculate_relocation_address(); } -int dram_init_banksize(void) +void dram_init_banksize(void) { int i, j; @@ -116,5 +117,4 @@ int dram_init_banksize(void) } } } - return 0; } |