* [U-Boot] [PATCH] powerpc/t104xrdb: Set DDR ODT to 75ohm
@ 2014-09-05 9:48 Priyanka Jain
2014-09-25 16:46 ` York Sun
0 siblings, 1 reply; 2+ messages in thread
From: Priyanka Jain @ 2014-09-05 9:48 UTC (permalink / raw)
To: u-boot
DDR-ODT require cfg_dram_type switch set properly as per DDR type.
T1040RDB, T1042RDB boards have DDR3L type DDR, so cfg_dram_type
should be set to OFF for DDR3L
Update t104xrdb/README for switch setting
Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
---
board/freescale/t104xrdb/README | 6 +++---
board/freescale/t104xrdb/ddr.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/board/freescale/t104xrdb/README b/board/freescale/t104xrdb/README
index cdbe1fa..fe1621c 100644
--- a/board/freescale/t104xrdb/README
+++ b/board/freescale/t104xrdb/README
@@ -259,15 +259,15 @@ Switch Settings: (ON is 0, OFF is 1)
===============
NAND boot SW setting:
SW1: 10001000
-SW2: 00111001
+SW2: 00111011
SW3: 11110001
SPI boot SW setting:
SW1: 00100010
-SW2: 10111001
+SW2: 10111011
SW3: 11100001
SD boot SW setting:
SW1: 00100000
-SW2: 00111001
+SW2: 00111011
SW3: 11100001
diff --git a/board/freescale/t104xrdb/ddr.c b/board/freescale/t104xrdb/ddr.c
index 34c9224..2c331ee 100644
--- a/board/freescale/t104xrdb/ddr.c
+++ b/board/freescale/t104xrdb/ddr.c
@@ -105,8 +105,8 @@ found:
popts->zq_en = 1;
/* DHC_EN =1, ODT = 75 Ohm */
- popts->ddr_cdr1 = DDR_CDR1_DHC_EN | DDR_CDR1_ODT(DDR_CDR_ODT_OFF);
- popts->ddr_cdr2 = DDR_CDR2_ODT(DDR_CDR_ODT_OFF);
+ popts->ddr_cdr1 = DDR_CDR1_DHC_EN | DDR_CDR1_ODT(DDR_CDR_ODT_75ohm);
+ popts->ddr_cdr2 = DDR_CDR2_ODT(DDR_CDR_ODT_75ohm);
}
phys_size_t initdram(int board_type)
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] powerpc/t104xrdb: Set DDR ODT to 75ohm
2014-09-05 9:48 [U-Boot] [PATCH] powerpc/t104xrdb: Set DDR ODT to 75ohm Priyanka Jain
@ 2014-09-25 16:46 ` York Sun
0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2014-09-25 16:46 UTC (permalink / raw)
To: u-boot
On 09/05/2014 02:48 AM, Priyanka Jain wrote:
> DDR-ODT require cfg_dram_type switch set properly as per DDR type.
> T1040RDB, T1042RDB boards have DDR3L type DDR, so cfg_dram_type
> should be set to OFF for DDR3L
> Update t104xrdb/README for switch setting
>
> Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
> ---
Applied to u-boot-mpc85xx, awaiting upstream.
York
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-25 16:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-05 9:48 [U-Boot] [PATCH] powerpc/t104xrdb: Set DDR ODT to 75ohm Priyanka Jain
2014-09-25 16:46 ` York Sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox