]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
common: memtop: Update the MEM_RGN_COUNT macro to 64
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Wed, 26 Nov 2025 15:09:41 +0000 (16:09 +0100)
committerMichal Simek <michal.simek@amd.com>
Fri, 19 Dec 2025 07:25:27 +0000 (08:25 +0100)
Crashes are occurring due to the number of reserved memory regions
exceeding the current maximum limit of 16. It is recommended to
increase the supported number of memory regions to 64, as newer
platforms may utilize more reserved regions.

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/d9f73d26af832e19dfd79a4b7bfcf09c498a4873.1764169780.git.michal.simek@amd.com
common/memtop.c

index bff27d8211ede1aaf161ff85e39d2d11b00802fa..8ad394193f3551db8e3284a50ed927ad844cfab9 100644 (file)
@@ -9,7 +9,7 @@
 
 #include <asm/types.h>
 
-#define MEM_RGN_COUNT  16
+#define MEM_RGN_COUNT  64
 
 struct region {
        phys_addr_t base;