diff options
author | Mayuresh Chitale <mchitale@ventanamicro.com> | 2023-10-11 21:00:20 +0530 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2023-10-19 17:29:32 +0800 |
commit | 5a348ccf025702fc6bb30d9c8da367a9e78d3d2b (patch) | |
tree | d0b255ce791e26f0afc8f16b975dcea28467ad32 /drivers/ddr/imx/imx8ulp/ddr_init.c | |
parent | e96e537efd95f77903c4503c67667543d7b88965 (diff) |
riscv: binman: Fix compilation error
Some platforms may not have any DDR memory below 4G and for such platforms
the TEXT_BASE and LOAD addresses etc are all 64 bit addresses due to
which the u-boot build fails with below error:
u-boot/arch/riscv/dts/binman.dtsi:30.14-25
Value out of range for 32-bit array element
u-boot/arch/riscv/dts/binman.dtsi:43.14-25
Value out of range for 32-bit array element
u-boot/arch/riscv/dts/binman.dtsi:44.15-26
Value out of range for 32-bit array element
FATAL ERROR: Syntax error parsing input tree
Fix by setting the address-cells property to 2 and converting load
addresses to 64 bit values.
Signed-off-by: Mayuresh Chitale <mchitale@ventanamicro.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/imx/imx8ulp/ddr_init.c')
0 files changed, 0 insertions, 0 deletions