diff options
author | Sughosh Ganu <sughosh.ganu@linaro.org> | 2024-10-25 22:57:23 +0530 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2024-11-15 14:32:02 +0100 |
commit | feb423a3a3d34ed7903d6eb833ddd0593a410474 (patch) | |
tree | fe024078f6a8b01c4a22e0c8caf0c07c87abe77f /drivers/ddr/microchip/ddr2.c | |
parent | 7aeed221dbd354f34428d709dfd7679a2c94199d (diff) |
common: memtop: add logic to detect ram_top
Add generic logic to determine the ram_top value for boards. Earlier,
this was achieved in an indirect manner through a set of LMB API's.
That has since changed so that the LMB code is available only after
relocation. Replace those LMB calls with a single call to
get_mem_top() to determine the value of ram_top.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20241025172724.195093-2-sughosh.ganu@linaro.org
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'drivers/ddr/microchip/ddr2.c')
0 files changed, 0 insertions, 0 deletions