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:
5184dad
)
rockchip: ram: rk3399: update reg map for of-platdata
author
Kever Yang
<
[email protected]
>
Thu, 7 Sep 2017 03:20:51 +0000
(11:20 +0800)
committer
Philipp Tomsich
<
[email protected]
>
Mon, 18 Sep 2017 18:40:38 +0000
(20:40 +0200)
After Simon's patch, the dtoc can work with 64bit address,
so we need to fix reg number for it.
Depend on Simon's patch set:
https://patchwork.ozlabs.org/cover/807266/
Signed-off-by: Kever Yang <
[email protected]
>
Reviewed-by: Philipp Tomsich <
[email protected]
>
Acked-by: Philipp Tomsich <
[email protected]
>
arch/arm/mach-rockchip/rk3399/sdram_rk3399.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/rk3399/sdram_rk3399.c
b/arch/arm/mach-rockchip/rk3399/sdram_rk3399.c
index 63342ab5c98ab9e8f059e7862c5b9b45f9778be7..5ed4b03837d63f4b8482d914cfe786e1260b34ea 100644
(file)
--- a/
arch/arm/mach-rockchip/rk3399/sdram_rk3399.c
+++ b/
arch/arm/mach-rockchip/rk3399/sdram_rk3399.c
@@
-1115,7
+1115,7
@@
static int conv_of_platdata(struct udevice *dev)
int ret;
ret = regmap_init_mem_platdata(dev, dtplat->reg,
- ARRAY_SIZE(dtplat->reg) /
4
,
+ ARRAY_SIZE(dtplat->reg) /
2
,
&plat->map);
if (ret)
return ret;