arm: mach-k3: use CFG_MAX_MEM_SIZE
authorBryan Brattlof <bb@ti.com>
Fri, 25 Apr 2025 17:02:06 +0000 (12:02 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 2 May 2025 21:32:44 +0000 (15:32 -0600)
commit78c0f7e3eb0dc96df163cd5ec51de80a28fb31e7
tree80cf2bdb2a9315d12027536c2cb6f602bcb7f9f0
parent510f2502475b9e695ae7e62272c8f90c2fdf0eda
arm: mach-k3: use CFG_MAX_MEM_SIZE

Rather than hard coding the maximum memory size, lets just define the
CFG_MAX_MEM_SIZE so get_effective_memsize() will return the correct
value without modification.

Signed-off-by: Bryan Brattlof <bb@ti.com>
arch/arm/mach-k3/common.c
arch/arm/mach-k3/common.h