[U-Boot] [PATCH v3 54/62] rockchip: sdram: Move all DT decoding to ofdata_to_platdata()

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


On 4 July 2016 at 11:58, Simon Glass <sjg at chromium.org> wrote:
> It is more correct to avoid touching the device tree in the probe() method.
> Update the driver to work this way. Note that only SPL needs to fiddle with
> the SDRAM registers, so decoding the platform data fully is not necessary in
> U-Boot proper.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v3: None
> Changes in v2: None
>
>  arch/arm/include/asm/arch-rockchip/sdram.h   |  8 ---
>  arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 94 +++++++++++++++++++---------
>  2 files changed, 64 insertions(+), 38 deletions(-)

Applied to u-boot-dm


More information about the U-Boot mailing list