diff options
author | Heiko Stübner <heiko@sntech.de> | 2017-03-20 14:40:29 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-04-05 05:01:57 +0300 |
commit | 3408509f6f71cf5c46c64a34059bf88fdb83e670 (patch) | |
tree | ee75aedf52d6e94aacb67342fbfd1a9367b882b7 /arch/arm/mach-rockchip/rk3188 | |
parent | f46b859bfb1f1cf95721efbc04c22cb27dc70f80 (diff) | |
download | u-boot-3408509f6f71cf5c46c64a34059bf88fdb83e670.tar.xz |
rockchip: rk3188: sdram: Set correct sdram base
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@sntech.de>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-rockchip/rk3188')
-rw-r--r-- | arch/arm/mach-rockchip/rk3188/sdram_rk3188.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/rk3188/sdram_rk3188.c b/arch/arm/mach-rockchip/rk3188/sdram_rk3188.c index 461cfcdc83..fea8007265 100644 --- a/arch/arm/mach-rockchip/rk3188/sdram_rk3188.c +++ b/arch/arm/mach-rockchip/rk3188/sdram_rk3188.c @@ -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; |