[PATCH] common: memtop: Update the MEM_RGN_COUNT macro to 64

Michal Simek michal.simek at amd.com
Wed Dec 10 08:34:35 CET 2025



On 11/26/25 16:09, Michal Simek wrote:
> From: Venkatesh Yadav Abbarapu <venkatesh.abbarapu at amd.com>
> 
> 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 at amd.com>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   common/memtop.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/common/memtop.c b/common/memtop.c
> index bff27d8211ed..8ad394193f35 100644
> --- a/common/memtop.c
> +++ b/common/memtop.c
> @@ -9,7 +9,7 @@
>   
>   #include <asm/types.h>
>   
> -#define MEM_RGN_COUNT	16
> +#define MEM_RGN_COUNT	64
>   
>   struct region {
>   	phys_addr_t base;

Applied.
M


More information about the U-Boot mailing list