From 7805cdf494beb0014590b8bc79338c02c3791f15 Mon Sep 17 00:00:00 2001 From: Kever Yang Date: Fri, 23 Jun 2017 16:11:06 +0800 Subject: rockchip: use common sdram function Replace the sdram_init() in board init and rockchip_sdram_size() in sdram driver for all the Rockchip SoCs which enable CONFIG_RAM. Signed-off-by: Kever Yang Reviewed-by: Philipp Tomsich Make dram_init() in rk3036-board.c conditional on CONFIG_RAM: Signed-off-by: Philipp Tomsich --- board/geekbuying/geekbox/geekbox.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'board/geekbuying') diff --git a/board/geekbuying/geekbox/geekbox.c b/board/geekbuying/geekbox/geekbox.c index 75d121d736..422a03878e 100644 --- a/board/geekbuying/geekbox/geekbox.c +++ b/board/geekbuying/geekbox/geekbox.c @@ -13,12 +13,6 @@ int board_init(void) return 0; } -int dram_init(void) -{ - gd->ram_size = 0x80000000; - return 0; -} - int dram_init_banksize(void) { gd->bd->bi_dram[0].start = 0; -- cgit