summaryrefslogtreecommitdiff
path: root/board/rockchip/sheep_rk3368/sheep_rk3368.c
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2017-06-23 16:11:06 +0800
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-07-11 12:13:44 +0200
commit7805cdf494beb0014590b8bc79338c02c3791f15 (patch)
tree45f16fb0058bcd01c9d5bb0db438bd9cf37df5a2 /board/rockchip/sheep_rk3368/sheep_rk3368.c
parent6d1970fa8a8d315af2b5c2c6f0ad5e5c24a382b5 (diff)
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 <kever.yang@rock-chips.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Make dram_init() in rk3036-board.c conditional on CONFIG_RAM: Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'board/rockchip/sheep_rk3368/sheep_rk3368.c')
-rw-r--r--board/rockchip/sheep_rk3368/sheep_rk3368.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/board/rockchip/sheep_rk3368/sheep_rk3368.c b/board/rockchip/sheep_rk3368/sheep_rk3368.c
index df1fd9d2c3..e6d23611fd 100644
--- a/board/rockchip/sheep_rk3368/sheep_rk3368.c
+++ b/board/rockchip/sheep_rk3368/sheep_rk3368.c
@@ -21,13 +21,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 = 0x200000;