[U-Boot] [PATCH] driver/ddr/fsl: Force enabling parity for A-009803

Shengzhou Liu
2016-05-20T08:05:46Z

Default address parity is disabled for DDR4 UDIMM for considing
performance, it needs to enable parity for A-009803 workaround.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com>
---
drivers/ddr/fsl/options.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/ddr/fsl/options.c b/drivers/ddr/fsl/options.c
index d0075ff..dcef0bb 100644
--- a/drivers/ddr/fsl/options.c
+++ b/drivers/ddr/fsl/options.c
@@ -1016,6 +1016,9 @@ unsigned int populate_memctl_options(const common_timing_params_t *common_dimm,
}
}

+#ifdef CONFIG_SYS_FSL_ERRATUM_A009803
+ popts->ap_en = 1;
+#endif
/*
* BSTTOPRE precharge interval
*
--
2.1.0.27.g96db324