mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00: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:
parent
bf0db8b82a
commit
698ffab239
4 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue