rockchip: rk3188: sdram: Set correct sdram base

A patch from »rockchip: rk3188: fixups and armclk speedup« in state Mainline for u-boot

From: Heiko Stuebner <heiko@...> Date: Mon, 20 Mar 2017 09:42:42 +0100

Commit-Message

Right now we're setting the wrong value of 0 as base in the ram_info struct, which is obviously wrong for the rk3188. So instead set the correct value we already have in CONFIG_SYS_SDRAM_BASE. Signed-off-by: Heiko Stuebner <heiko@...>

Patch-Comment

arch/arm/mach-rockchip/rk3188/sdram_rk3188.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Statistics

  • 1 lines added
  • 1 lines removed

Changes

----------------- arch/arm/mach-rockchip/rk3188/sdram_rk3188.c -----------------
index 461cfcdc83..fea8007265 100644
@@ -955,7 +955,7 @@ static int rk3188_dmc_probe(struct udevice *dev)
if (ret)
return ret;
#endif
- priv->info.base = 0;
+ priv->info.base = CONFIG_SYS_SDRAM_BASE;
priv->info.size = sdram_size_mb(priv->pmu) << 20;
return 0;
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...