]> git.dujemihanovic.xyz Git - u-boot.git/commit
xilinx: use get_mem_top() to compute ram_top
authorSughosh Ganu <sughosh.ganu@linaro.org>
Fri, 25 Oct 2024 17:27:24 +0000 (22:57 +0530)
committerMichal Simek <michal.simek@amd.com>
Fri, 15 Nov 2024 13:32:47 +0000 (14:32 +0100)
commit62fbddf7c8e7e0226273392fe1f81b8358ebe3c9
treeb1523b2aab3a4b232e0a280d1930ba0a90250ceb
parentfeb423a3a3d34ed7903d6eb833ddd0593a410474
xilinx: use get_mem_top() to compute ram_top

Use the get_mem_top function to compute the value of ram_top. This was
earlier done through LMB API's, which are no longer available till
after relocation. Use get_mem_top() instead to compute the ram_top
value.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Tested-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20241025172724.195093-3-sughosh.ganu@linaro.org
Signed-off-by: Michal Simek <michal.simek@amd.com>
board/xilinx/common/board.c