summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/phy/ddrphy_utils.c
diff options
context:
space:
mode:
authorSughosh Ganu <sughosh.ganu@linaro.org>2024-10-25 22:57:23 +0530
committerMichal Simek <michal.simek@amd.com>2024-11-15 14:32:02 +0100
commitfeb423a3a3d34ed7903d6eb833ddd0593a410474 (patch)
treefe024078f6a8b01c4a22e0c8caf0c07c87abe77f /drivers/ddr/imx/phy/ddrphy_utils.c
parent7aeed221dbd354f34428d709dfd7679a2c94199d (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/imx/phy/ddrphy_utils.c')
0 files changed, 0 insertions, 0 deletions