diff --git a/include/configs/p2771-0000.h b/include/configs/p2771-0000.h
index 564069a6659b5405d6871849b4fc7dce625ae9f3..5de7ae8c502dd8e169a8e05cb8ca6b9659850f63 100644
--- a/include/configs/p2771-0000.h
+++ b/include/configs/p2771-0000.h
@@ -29,4 +29,7 @@
 /* Crystal is 38.4MHz. clk_m runs at half that rate */
 #define COUNTER_FREQUENCY	19200000
 
+#undef CONFIG_NR_DRAM_BANKS
+#define CONFIG_NR_DRAM_BANKS	(1024 + 2)
+
 #endif