[U-Boot] [PATCH 2/2] mx6sabresd: Remove uneeded ifdef
Fabio Estevam
festevam at gmail.com
Fri Apr 17 03:11:48 CEST 2015
From: Fabio Estevam <fabio.estevam at freescale.com>
RTT_NOM_120OHM is not defined, so remove its ifdef.
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
board/freescale/mx6sabresd/mx6sabresd.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/mx6sabresd/mx6sabresd.c
index a4f3a94..23f8f6b 100644
--- a/board/freescale/mx6sabresd/mx6sabresd.c
+++ b/board/freescale/mx6sabresd/mx6sabresd.c
@@ -806,11 +806,7 @@ static void spl_dram_init(void)
.ncs = 1,
.cs1_mirror = 0,
.rtt_wr = 1 /*DDR3_RTT_60_OHM*/, /* RTT_Wr = RZQ/4 */
-#ifdef RTT_NOM_120OHM
- .rtt_nom = 2 /*DDR3_RTT_120_OHM*/, /* RTT_Nom = RZQ/2 */
-#else
.rtt_nom = 1 /*DDR3_RTT_60_OHM*/, /* RTT_Nom = RZQ/4 */
-#endif
.walat = 1, /* Write additional latency */
.ralat = 5, /* Read additional latency */
.mif3_mode = 3, /* Command prediction working mode */
--
1.9.1
More information about the U-Boot
mailing list