dragon-nx32: Bump MAX_MAPS for spinx512
authorTormod Volden <debian.tormod@gmail.com>
Sun, 15 May 2016 11:19:54 +0000 (13:19 +0200)
committerAlan Cox <alan@etchedpixels.co.uk>
Mon, 16 May 2016 10:01:46 +0000 (11:01 +0100)
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 <debian.tormod@gmail.com>
Kernel/platform-dragon-nx32/config.h

index 72e08f8..c8a5867 100644 (file)
@@ -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 */