ddr: altera: sequencer: add RW_MGR_MEM_NUMBER_OF_RANKS
authorDinh Nguyen <dinguyen@opensource.altera.com>
Wed, 5 Aug 2015 03:12:32 +0000 (22:12 -0500)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:30 +0000 (14:14 +0200)
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>
board/altera/socfpga/qts/sequencer_defines.h

index 32f13ac9f8ad23f1d9ab7c4ae9520b65846c7244..bfe5b2719fdb92b2ced25c7acef628ee224efa78 100644 (file)
 #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