summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2018-01-03 14:32:35 -0700
committerTom Warren <twarren@nvidia.com>2018-01-12 10:12:31 -0700
commita9819b9e33bd9e8e2bdb694abef78397d8c00e7f (patch)
tree47a3f1711a9e1670bb71466448a4712e44af24bf /include
parentd5859255d9799db8f18ac3487ec3ac9427503edb (diff)
ARM: tegra: p2771-000: increase max DRAM bank count
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@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/p2771-0000.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/p2771-0000.h b/include/configs/p2771-0000.h
index 564069a665..5de7ae8c50 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