[PATCH] rockchip: dts: rk3328: fix sdram params
Simon Glass
sjg at chromium.org
Mon Feb 13 05:27:10 CET 2023
On Fri, 10 Feb 2023 at 11:30, Jonas Karlman <jonas at kwiboo.se> wrote:
>
> The rk3328 sdram driver read sdram parameters from the devicetree into a
> struct rk3328_sdram_params using dev_read_u32_array.
>
> After commit 5ab30c3176bf ("ram: rockchip: Update ddr pctl regs for px30")
> changed the size of struct ddr_pctl_regs, a member of struct
> rk3328_sdram_params, U-Boot TPL can no longer initialize DRAM on RK3328.
>
> Add ten u32 to the sdram parameter array in devicetree to align with
> this size change. This fixes DRAM initialization on RK3328.
>
> Fixes: 5ab30c3176bf ("ram: rockchip: Update ddr pctl regs for px30")
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
> ---
> arch/arm/dts/rk3328-sdram-ddr3-666.dtsi | 10 ++++++++++
> arch/arm/dts/rk3328-sdram-ddr4-666.dtsi | 10 ++++++++++
> arch/arm/dts/rk3328-sdram-lpddr3-1600.dtsi | 10 ++++++++++
> arch/arm/dts/rk3328-sdram-lpddr3-666.dtsi | 10 ++++++++++
> 4 files changed, 40 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list