mirror of
https://xff.cz/git/u-boot/
synced 2025-10-20 01:14:39 +02:00
arm: mvebu: Make ECC support configurable on Armada XP
Currently, ECC support is enabled for all Armada XP boards. So the DDR3 driver tries to configure the controller with ECC support, even on boards without ECC. This patch makes this ECC optional which now can be configured on a board-per-board basis. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Phil Sutter <phil@nwl.cc>
This commit is contained in:
@@ -44,7 +44,12 @@
|
||||
* DDR3_TRAINING_DEBUG - Debug prints of internal code
|
||||
*/
|
||||
#define DDR_TARGET_FABRIC 5
|
||||
/* Only enable ECC if the board selects it */
|
||||
#ifdef CONFIG_BOARD_ECC_SUPPORT
|
||||
#define DRAM_ECC 1
|
||||
#else
|
||||
#define DRAM_ECC 0
|
||||
#endif
|
||||
|
||||
#ifdef MV_DDR_32BIT
|
||||
#define BUS_WIDTH 32
|
||||
|
Reference in New Issue
Block a user