diff options
| author | Kever Yang <[email protected]> | 2017-09-07 11:20:51 +0800 |
|---|---|---|
| committer | Philipp Tomsich <[email protected]> | 2017-09-18 20:40:38 +0200 |
| commit | 6e5bd8d6f34445958eba1203999cd3e1475791ac (patch) | |
| tree | 102f283b66aade3e2b5875c4a2e56b217b1074c1 | |
| parent | 5184daddaa9a398ac7f47b5a28e7264f7eb10bed (diff) | |
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 <[email protected]>
Reviewed-by: Philipp Tomsich <[email protected]>
Acked-by: Philipp Tomsich <[email protected]>
| -rw-r--r-- | arch/arm/mach-rockchip/rk3399/sdram_rk3399.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/rk3399/sdram_rk3399.c b/arch/arm/mach-rockchip/rk3399/sdram_rk3399.c index 63342ab5c98..5ed4b03837d 100644 --- 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; |
