]> git.baikalelectronics.ru Git - uboot.git/commit
arm: stm32mp: spl: fix function with fdt_addr_t input
authorJohan Jonker <jbx6244@gmail.com>
Mon, 13 Mar 2023 00:33:09 +0000 (01:33 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 6 May 2023 09:28:18 +0000 (17:28 +0800)
commitaca720f22698f91d6b1f35d06e4f96a22665dc9e
treed2fd456bfbb9c576802e69ba811d2901ded40905
parent72af17e7db137c2864d4669cf28a605ffd4d9a05
arm: stm32mp: spl: fix function with fdt_addr_t input

The fdt_addr_t and phys_addr_t size have been decoupled.
A 32bit CPU can expect 64-bit data from the device tree parser,
so fix ofnode_get_addr_size function with fdt_addr_t input to
be able to handle both sizes for stm32mp SoC in spl.c file.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-stm32mp/spl.c