projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f46b859
)
rockchip: rk3188: sdram: Set correct sdram base
author
Heiko Stübner
<
[email protected]
>
Mon, 20 Mar 2017 11:40:29 +0000
(12:40 +0100)
committer
Simon Glass
<
[email protected]
>
Wed, 5 Apr 2017 02:01:57 +0000
(20:01 -0600)
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 <
[email protected]
>
Acked-by: Simon Glass <
[email protected]
>
arch/arm/mach-rockchip/rk3188/sdram_rk3188.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/rk3188/sdram_rk3188.c
b/arch/arm/mach-rockchip/rk3188/sdram_rk3188.c
index 461cfcdc83f00dc5a08b8f012b956fe3eda9b7cc..fea8007265ce893fd16f0935ec32e9dd333e23b8 100644
(file)
--- 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;