summaryrefslogtreecommitdiff
path: root/board/AndesTech/adp-ag101p
diff options
context:
space:
mode:
Diffstat (limited to 'board/AndesTech/adp-ag101p')
-rw-r--r--board/AndesTech/adp-ag101p/adp-ag101p.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/AndesTech/adp-ag101p/adp-ag101p.c b/board/AndesTech/adp-ag101p/adp-ag101p.c
index 84c77f7..805a266 100644
--- a/board/AndesTech/adp-ag101p/adp-ag101p.c
+++ b/board/AndesTech/adp-ag101p/adp-ag101p.c
@@ -49,12 +49,14 @@ int dram_init(void)
return 0;
}
-void dram_init_banksize(void)
+int dram_init_banksize(void)
{
gd->bd->bi_dram[0].start = PHYS_SDRAM_0;
gd->bd->bi_dram[0].size = PHYS_SDRAM_0_SIZE;
gd->bd->bi_dram[1].start = PHYS_SDRAM_1;
gd->bd->bi_dram[1].size = PHYS_SDRAM_1_SIZE;
+
+ return 0;
}
int board_eth_init(bd_t *bd)