
15 Jul
2016
15 Jul
'16
6 a.m.
On 4 July 2016 at 11:58, Simon Glass sjg@chromium.org wrote:
Add support for of-platdata with rk3288 SDRAM initr. This requires decoding the of-platdata struct and setting up the device from that. Also the driver needs to be renamed to match the string that of-platdata will search for.
The platform data is copied from the of-platdata structure to the one used by the driver. This allows the same code to be used with device tree and of-platdata.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v3: None Changes in v2: None
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 40 +++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-)
Applied to u-boot-dm