xen/arm: increase memory banks number define value

Currently the maximum number of memory banks (NR_MEM_BANKS define)
is fixed to 128, but on some new platforms that have a large amount
of memory, this value is not enough and prevents Xen from booting.

Increase the value to 256.

Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
(cherry picked from commit f1f38e26c3)
This commit is contained in:
Luca Fancellu authored and Stefano Stabellini committed 2022-03-10 09:41:35 -08:00
1 parent 04c7cc2b79
commit 81e6eabbfe
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@
#define MIN_FDT_ALIGN 8
#define MAX_FDT_SIZE SZ_2M
#define NR_MEM_BANKS 128
#define NR_MEM_BANKS 256
#define MAX_MODULES 32 /* Current maximum useful modules */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.