[U-Boot] [PATCH v3 55/62] rockchip: sdram: Update the driver to support of-platdata

Simon Glass sjg at chromium.org
Fri Jul 15 06:00:41 CEST 2016


On 4 July 2016 at 11:58, Simon Glass <sjg at 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 at 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


More information about the U-Boot mailing list