lib: Increase ROOT_REGION_MAX to accomodate more memregions

As more drivers adding memregions into root domain, the current static limit
of ROOT_REGION_MAX is not sufficient. Increase the limit to accomodate more
memregions.

Signed-off-by: Rahul Pathak <rpathak@ventanamicro.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
This commit is contained in:
Rahul Pathak
2024-08-06 09:34:34 +05:30
committed by Anup Patel
parent e434584216
commit b49d67b70f

View File

@@ -24,7 +24,7 @@ SBI_LIST_HEAD(domain_list);
static u32 domain_count = 0; static u32 domain_count = 0;
static bool domain_finalized = false; static bool domain_finalized = false;
#define ROOT_REGION_MAX 16 #define ROOT_REGION_MAX 32
static u32 root_memregs_count = 0; static u32 root_memregs_count = 0;
struct sbi_domain root = { struct sbi_domain root = {