summaryrefslogtreecommitdiff
path: root/board/altera
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@opensource.altera.com>2015-08-04 22:12:32 -0500
committerMarek Vasut <marex@denx.de>2015-08-08 14:14:30 +0200
commitcf96848bc76c7d680100e914b088ca34ed4e04e0 (patch)
tree6df4944fb09067c1ee338ffecfd33b4d1dce8289 /board/altera
parent139823ecb2472de2e8e5a785cfa608ec00618375 (diff)
downloadu-boot-cf96848bc76c7d680100e914b088ca34ed4e04e0.tar.gz
ddr: altera: sequencer: add RW_MGR_MEM_NUMBER_OF_RANKS
Fix build error for socfpga_cyclone5_defconfig: board/altera/socfpga/wrap_sdram_config.c:245:26: error: ‘RW_MGR_MEM_NUMBER_OF_RANKS’ undeclared here (not in a function) make[2]: *** [spl/board/altera/socfpga/wrap_sdram_config.o] Error 1 Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Diffstat (limited to 'board/altera')
-rw-r--r--board/altera/socfpga/qts/sequencer_defines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/altera/socfpga/qts/sequencer_defines.h b/board/altera/socfpga/qts/sequencer_defines.h
index 32f13ac9f8..bfe5b2719f 100644
--- a/board/altera/socfpga/qts/sequencer_defines.h
+++ b/board/altera/socfpga/qts/sequencer_defines.h
@@ -103,6 +103,7 @@
#define RW_MGR_MEM_IF_READ_DQS_WIDTH 5
#define RW_MGR_MEM_IF_WRITE_DQS_WIDTH 5
#define RW_MGR_MEM_NUMBER_OF_CS_PER_DIMM 1
+#define RW_MGR_MEM_NUMBER_OF_RANKS 1
#define RW_MGR_MEM_ODT_WIDTH 1
#define RW_MGR_MEM_VIRTUAL_GROUPS_PER_READ_DQS 1
#define RW_MGR_MEM_VIRTUAL_GROUPS_PER_WRITE_DQS 1