mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
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>
This commit is contained in:
parent
84404d8165
commit
55cd74d691
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ uint32_t stm32mp_get_dram_size(void)
|
|||
|
||||
static int optee_get_reserved_memory(uint32_t *start, uint32_t *size)
|
||||
{
|
||||
phys_size_t fdt_mem_size;
|
||||
fdt_addr_t fdt_mem_size;
|
||||
fdt_addr_t fdt_start;
|
||||
ofnode node;
|
||||
|
||||
|
|
Loading…
Reference in a new issue