]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mach-k3: Let the compiler size the mem_map lists
authorAndrew Davis <afd@ti.com>
Tue, 28 Nov 2023 17:05:25 +0000 (11:05 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 15 Dec 2023 20:27:47 +0000 (15:27 -0500)
commitd7b889403c95124ee51b982a858148487ac03d72
treed7ca8bbd13592aa33d9732e56cd0a7bd1b80fb27
parent4621960754b2175cef1f4c34e11db1abb7a6e666
arm: mach-k3: Let the compiler size the mem_map lists

NR_MMU_REGIONS is a copy/paste from another platform that extends
this list later. We do not do that, so let the list be the size
of the initializer list.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
Tested-by: Nishanth Menon <nm@ti.com>
arch/arm/mach-k3/arm64-mmu.c