From f0cf507aa3c6e0b2beb19e09d2e59fe9fe47a85f Mon Sep 17 00:00:00 2001 From: Tormod Volden Date: Sun, 15 May 2016 13:19:54 +0200 Subject: [PATCH] dragon-nx32: Bump MAX_MAPS for spinx512 An earlier prototype had 4 maps but the spinx512 can do 16. By chance the table sized by MAX_MAPS was linked at the end of used memory so going beyond bounds was not fatal :) Signed-off-by: Tormod Volden --- Kernel/platform-dragon-nx32/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/platform-dragon-nx32/config.h b/Kernel/platform-dragon-nx32/config.h index 72e08f8e..c8a5867c 100644 --- a/Kernel/platform-dragon-nx32/config.h +++ b/Kernel/platform-dragon-nx32/config.h @@ -12,7 +12,7 @@ #undef CONFIG_SWAP_ONLY #define CONFIG_BANK_FIXED -#define MAX_MAPS 4 +#define MAX_MAPS 16 #define MAP_SIZE 0x7C00U #define CONFIG_BANKS 1 /* And swapping */ -- 2.34.1