diff options
| author | Rahul Pathak <[email protected]> | 2024-08-06 09:34:34 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-12-06 09:26:11 +0530 |
| commit | b49d67b70f09149016afbfa07c8f65df1626a157 (patch) | |
| tree | 0e1b4dda7a00bf352ef68de40701138306c67795 | |
| parent | e4345842168b5725f56a81f1211d08f1a9d6c897 (diff) | |
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 <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
| -rw-r--r-- | lib/sbi/sbi_domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sbi/sbi_domain.c b/lib/sbi/sbi_domain.c index 7fdcf9d3..1cf7e2d8 100644 --- a/lib/sbi/sbi_domain.c +++ b/lib/sbi/sbi_domain.c @@ -24,7 +24,7 @@ SBI_LIST_HEAD(domain_list); static u32 domain_count = 0; static bool domain_finalized = false; -#define ROOT_REGION_MAX 16 +#define ROOT_REGION_MAX 32 static u32 root_memregs_count = 0; struct sbi_domain root = { |
