[U-Boot] [PATCH 3/3] ARM: tegra: p2771-000: increase max DRAM bank count
Stephen Warren
swarren at wwwdotorg.org
Wed Jan 3 21:32:35 UTC 2018
From: Stephen Warren <swarren at nvidia.com>
On this platform, there may be up to 1024 unusable chunks of memory.
Increase CONFIG_NR_DRAM_BANKS so that U-Boot can remember all the banks
required to represent such fragmented memory.
Signed-off-by: Stephen Warren <swarren at nvidia.com>
---
include/configs/p2771-0000.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/configs/p2771-0000.h b/include/configs/p2771-0000.h
index 564069a6659b..5de7ae8c502d 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
--
2.15.1
More information about the U-Boot
mailing list