[U-Boot] [PATCH 1/8] drivers/ddr/fsl: add DEBUG_38
Gong Qianyu
Qianyu.Gong at nxp.com
Fri Aug 26 13:28:29 CEST 2016
From: Mingkai Hu <mingkai.hu at nxp.com>
DEBUG_38 is needed for rev2 DDR controller.
Signed-off-by: Mingkai Hu <mingkai.hu at nxp.com>
Signed-off-by: Gong Qianyu <Qianyu.Gong at nxp.com>
---
drivers/ddr/fsl/ctrl_regs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/ddr/fsl/ctrl_regs.c b/drivers/ddr/fsl/ctrl_regs.c
index 24fd366..4ae8b80 100644
--- a/drivers/ddr/fsl/ctrl_regs.c
+++ b/drivers/ddr/fsl/ctrl_regs.c
@@ -2526,5 +2526,7 @@ compute_fsl_memctl_config_regs(const unsigned int ctrl_num,
ddr->debug[2] |= 0x00000200; /* set bit 22 */
#endif
+ ddr->debug[37] = 0x80000000;
+
return check_fsl_memctl_config_regs(ddr);
}
--
2.1.0.27.g96db324
More information about the U-Boot
mailing list