diff options
author | Tom Rini <trini@konsulko.com> | 2024-12-20 08:26:16 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-12-20 08:26:16 -0600 |
commit | 5c8ef70f0872399b3764b2addf1ed27e22dc61b0 (patch) | |
tree | 8afcf1755d7e2b49a6841703df975e7113c514bd /common/memtop.c | |
parent | c06705a9a13d58e799b98927c360e93954b62860 (diff) | |
parent | 1b70b6c9cc98290fbd46da09c9f5a95f45121148 (diff) |
Merge tag 'xilinx-for-v2025.01-rc5-v2' of https://source.denx.de/u-boot/custodians/u-boot-microblaze
AMD/Xilinx changes for v2025.01-rc5 - second
- Fix find_ram_top() return to support configs > 4GB
Diffstat (limited to 'common/memtop.c')
-rw-r--r-- | common/memtop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/memtop.c b/common/memtop.c index 841d89e0799..bff27d8211e 100644 --- a/common/memtop.c +++ b/common/memtop.c @@ -121,8 +121,8 @@ static long region_overlap_check(struct mem_region *mem_rgn, phys_addr_t base, return (i < mem_rgn->count) ? i : -1; } -static int find_ram_top(struct mem_region *free_mem, - struct mem_region *reserved_mem, phys_size_t size) +static phys_addr_t find_ram_top(struct mem_region *free_mem, + struct mem_region *reserved_mem, phys_size_t size) { long i, rgn; phys_addr_t base = 0; |