<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/ddr/fsl/ctrl_regs.c, branch v2016.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/ddr/fsl/ctrl_regs.c?h=v2016.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/ddr/fsl/ctrl_regs.c?h=v2016.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2016-06-03T21:12:06Z</updated>
<entry>
<title>drivers/ddr/fsl: Fix timing_cfg_2 register</title>
<updated>2016-06-03T21:12:06Z</updated>
<author>
<name>York Sun</name>
<email>york.sun@nxp.com</email>
</author>
<published>2016-05-19T04:11:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5605dc6135f6f26560ef3b0c6ebc5141c531179a'/>
<id>urn:sha1:5605dc6135f6f26560ef3b0c6ebc5141c531179a</id>
<content type='text'>
Commit 34e026f9 added one extra bit to wr_lat for timing_cfg_2, but
with wrong bit position. It is bit 13 in big-endian, or left shift
18 from LSB. This error hasn't had any impact because we don't have
fast enough DDR4 using the extra bit so far.

Signed-off-by: York Sun &lt;york.sun@nxp.com&gt;
</content>
</entry>
<entry>
<title>drivers/ddr/fsl: Update clk_adjust of sdram_clk_cntl</title>
<updated>2016-06-03T21:06:35Z</updated>
<author>
<name>Shengzhou Liu</name>
<email>Shengzhou.Liu@nxp.com</email>
</author>
<published>2016-05-04T02:20:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d8e5163ad81a2810c66a9a98e5111769378f5f5f'/>
<id>urn:sha1:d8e5163ad81a2810c66a9a98e5111769378f5f5f</id>
<content type='text'>
The clk_adjust is of SDRAM_CLK_CNTL[5:8] 4-bits on MPC85xx and P-series,
but is of SDRAM_CLK_CNTL[5:9] 5-bits on T-series and LS-series SoCs.
We should update it to adapt the case that clk_adjust is odd data.

Signed-off-by: Shengzhou Liu &lt;Shengzhou.Liu@nxp.com&gt;
Reviewed-by: York Sun &lt;york.sun@nxp.com&gt;
</content>
</entry>
<entry>
<title>driver/ddr/fsl: Add address parity support for DDR4 UDIMM/discrete</title>
<updated>2016-03-21T19:42:13Z</updated>
<author>
<name>Shengzhou Liu</name>
<email>Shengzhou.Liu@nxp.com</email>
</author>
<published>2016-03-10T09:36:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=eb118807a4c1778bda6294c36e379711cb08e198'/>
<id>urn:sha1:eb118807a4c1778bda6294c36e379711cb08e198</id>
<content type='text'>
Add support of address parity for DDR4 UDIMM or discrete memory.
It requires to configurate corresponding MR5[2:0] and
TIMING_CFG_7[PAR_LAT]. Parity can be turned on by hwconfig,
e.g. hwconfig=fsl_ddr:parity=on.

Signed-off-by: Shengzhou Liu &lt;Shengzhou.Liu@nxp.com&gt;
Reviewed-by: York Sun &lt;york.sun@nxp.com&gt;
</content>
</entry>
<entry>
<title>driver/ddr/fsl: Update timing config for heavy load</title>
<updated>2015-12-14T02:27:27Z</updated>
<author>
<name>York Sun</name>
<email>yorksun@freescale.com</email>
</author>
<published>2015-11-04T18:03:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6c6e006a2083f2da7b4f66c6bb82ce8b3fb713a3'/>
<id>urn:sha1:6c6e006a2083f2da7b4f66c6bb82ce8b3fb713a3</id>
<content type='text'>
In case four chip-selects are all active, the turnaround times need to
increase to avoid overlapping under heavy load.

Signed-off-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
</entry>
<entry>
<title>driver/ddr/fsl: Update MR5 RTT park</title>
<updated>2015-12-14T02:27:27Z</updated>
<author>
<name>York Sun</name>
<email>yorksun@freescale.com</email>
</author>
<published>2015-11-04T18:03:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8a51429e0094746c035ba96af5999432b3b3480b'/>
<id>urn:sha1:8a51429e0094746c035ba96af5999432b3b3480b</id>
<content type='text'>
For four chip-selects enabled case, RTT is parked on all of them.

Signed-off-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
</entry>
<entry>
<title>driver/ddr/fsl: Update DDR4 MR6 for Vref range</title>
<updated>2015-12-14T02:27:27Z</updated>
<author>
<name>York Sun</name>
<email>yorksun@freescale.com</email>
</author>
<published>2015-11-04T18:03:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0fb7197436378eeb92ff8e2c6a6f6490b31eef1c'/>
<id>urn:sha1:0fb7197436378eeb92ff8e2c6a6f6490b31eef1c</id>
<content type='text'>
MR6 bit 6 is set accrodingly for range 1 or 2, per JEDEC spec.

Signed-off-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
</entry>
<entry>
<title>drivers/ddr/fsl_ddr: Make SR_IE configurable</title>
<updated>2015-10-30T16:19:41Z</updated>
<author>
<name>Joakim Tjernlund</name>
<email>joakim.tjernlund@transmode.se</email>
</author>
<published>2015-10-14T14:32:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e368c206079bf7835000634247f3a8bfbba599ba'/>
<id>urn:sha1:e368c206079bf7835000634247f3a8bfbba599ba</id>
<content type='text'>
SR_IE(Self-refresh interrupt enable) is needed for
Hardware Based Self-Refresh. Make it configurable and let
board code handle the rest.

Signed-off-by: Joakim Tjernlund &lt;joakim.tjernlund@transmode.se&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
</entry>
<entry>
<title>driver/ddr/fsl: Fix driver to support empty first slot</title>
<updated>2015-04-23T15:55:53Z</updated>
<author>
<name>York Sun</name>
<email>yorksun@freescale.com</email>
</author>
<published>2015-03-19T16:30:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6b95be228024c7d15b9164b59187ef02333bb0c8'/>
<id>urn:sha1:6b95be228024c7d15b9164b59187ef02333bb0c8</id>
<content type='text'>
CS0 was not allowed to be empty by u-boot driver in the past to simplify
the driver. This may be inconvenient for some debugging. This patch lifts
the restrictions. Controller interleaving still requires CS0 populated.

Signed-off-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
</entry>
<entry>
<title>drivers/ddr/fsl: Update DDR driver for DDR4</title>
<updated>2015-04-23T15:55:53Z</updated>
<author>
<name>York Sun</name>
<email>yorksun@freescale.com</email>
</author>
<published>2015-03-19T16:30:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=66869f955417b89dbf6b7cbb72738b2205a26bf8'/>
<id>urn:sha1:66869f955417b89dbf6b7cbb72738b2205a26bf8</id>
<content type='text'>
Add/update registers for DDR4, including DQ mappings. Allow raw timing
method used for all controllers. Update mode_9 register to 0x500 for
improved stability. Check DDR controller version number individually
in case a SoC has multiple DDR controllers of different versions.
Increase read-write turnaround for DDR4 high speeds.

Signed-off-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
</entry>
<entry>
<title>MPC8541/MPC8555: Enable SS_EN in DDR_SDRAM_CLK_CNLT register</title>
<updated>2015-04-20T17:15:28Z</updated>
<author>
<name>Curt Brune</name>
<email>curt@cumulusnetworks.com</email>
</author>
<published>2015-02-13T18:57:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d7c865bdf2588c5f5936cc92fe679c68397196e3'/>
<id>urn:sha1:d7c865bdf2588c5f5936cc92fe679c68397196e3</id>
<content type='text'>
According to the MPC8555/MPC8541 reference manual the SS_EN (source
synchronous enable) bit in the DDR_SDRAM_CLK_CNLT register must be set
during initialization.

&gt;From section 9.4.1.8 of that manual:

   Source synchronous enable. This bit field must be set during
   initialization. See Section 9.6.1, "DDR SDRAM Initialization
   Sequence," details.

   0 - Reserved
   1 - The address and command are sent to the DDR SDRAMs source
       synchronously.

In addition, Freescale application note AN2805 is also very clear that
this bit must be set.

This patch reverts a change introduced by commit
457caecdbca3df21a93abff19eab12dbc61b7897.

Testing Done:

Compiled targets CONFIG_TARGET_MPC8555CDS and CONFIG_TARGET_MPC8541CDS
and inspected the generated assembly code to verify the SS_EN bit was being
set.  There is one extra instruction emitted:

  fff9b774: 65 29 80 00  oris    r9,r9,32768

Compiled the CONFIG_TARGET_MPC8548CDS target and verified that no
additional instructions were emitted related to this patch.

Booted an image on a MPC8541 based board successfully.

Signed-off-by: Curt Brune &lt;curt@cumulusnetworks.com&gt;
Reviewed-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
</entry>
</feed>
