summaryrefslogtreecommitdiff
path: root/board/cadence/xtfpga/xtfpga.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/cadence/xtfpga/xtfpga.c')
-rw-r--r--board/cadence/xtfpga/xtfpga.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/cadence/xtfpga/xtfpga.c b/board/cadence/xtfpga/xtfpga.c
index 5899aa6362..39b9b12567 100644
--- a/board/cadence/xtfpga/xtfpga.c
+++ b/board/cadence/xtfpga/xtfpga.c
@@ -48,10 +48,12 @@ int checkboard(void)
return 0;
}
-void dram_init_banksize(void)
+int dram_init_banksize(void)
{
gd->bd->bi_memstart = PHYSADDR(CONFIG_SYS_SDRAM_BASE);
gd->bd->bi_memsize = CONFIG_SYS_SDRAM_SIZE;
+
+ return 0;
}
int board_postclk_init(void)