mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
rockchip: ram: rk3399: update reg map for of-platdata
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 <kever.yang@rock-chips.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
5184daddaa
commit
6e5bd8d6f3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue