<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/ddr, branch v2023.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?h=v2023.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/ddr?h=v2023.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2023-05-21T14:54:41Z</updated>
<entry>
<title>ddr: imx9: update the rank setting for multi fsp support</title>
<updated>2023-05-21T14:54:41Z</updated>
<author>
<name>Jacky Bai</name>
<email>ping.bai@nxp.com</email>
</author>
<published>2023-04-28T04:08:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=212a4e19615102277718f6adaa0282b2a69d7320'/>
<id>urn:sha1:212a4e19615102277718f6adaa0282b2a69d7320</id>
<content type='text'>
The rank setting flow should be updated to support multi
fsp config.

Signed-off-by: Jacky Bai &lt;ping.bai@nxp.com&gt;
Reviewed-by: Ye Li &lt;ye.li@nxp.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>ddr: imx93: update the ddr init to support mult setpoints</title>
<updated>2023-05-21T14:54:41Z</updated>
<author>
<name>Jacky Bai</name>
<email>ping.bai@nxp.com</email>
</author>
<published>2023-04-28T04:08:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8e81e679db3248f2b3c34aee5302cd15a8283293'/>
<id>urn:sha1:8e81e679db3248f2b3c34aee5302cd15a8283293</id>
<content type='text'>
Update the DDR init flow for multi-setpoint support on i.MX93. A new
fsp_cfg struct need to be added in the timing file to store the diff
part of the DDRC and DRAM MR register for each setpoint.

Signed-off-by: Jacky Bai &lt;ping.bai@nxp.com&gt;
Reviewed-by: Ye Li &lt;ye.li@nxp.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>ddr: imx93: Add 625M bypass clock support</title>
<updated>2023-05-21T14:54:41Z</updated>
<author>
<name>Jacky Bai</name>
<email>ping.bai@nxp.com</email>
</author>
<published>2023-04-28T04:08:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=37eb821e2e84b29f65a186ea14534b8ff6de499c'/>
<id>urn:sha1:37eb821e2e84b29f65a186ea14534b8ff6de499c</id>
<content type='text'>
Add 625M bypass clock that may be used DRAM 625M
bypass mode support.

Signed-off-by: Jacky Bai &lt;ping.bai@nxp.com&gt;
Reviewed-by: Ye Li &lt;ye.li@nxp.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>ddr: imx9: Change the saved ddr data base to 0x2051c000</title>
<updated>2023-05-21T14:54:41Z</updated>
<author>
<name>Jacky Bai</name>
<email>ping.bai@nxp.com</email>
</author>
<published>2023-04-28T04:08:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=456f7ff8b28c4262bc12b1fbfb44a77d59085bbe'/>
<id>urn:sha1:456f7ff8b28c4262bc12b1fbfb44a77d59085bbe</id>
<content type='text'>
change the ddr saved info to the last 16KB of the OCRAM.

Signed-off-by: Jacky Bai &lt;ping.bai@nxp.com&gt;
Reviewed-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Reviewed-by: Ye Li &lt;ye.li@nxp.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>ddr: imx9: Add workaround for DDRPHY rank-to-rank errata</title>
<updated>2023-05-21T14:54:41Z</updated>
<author>
<name>Ye Li</name>
<email>ye.li@nxp.com</email>
</author>
<published>2023-04-28T04:08:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=662f05fcb6798277c69700c7deadd1c3c6a1b363'/>
<id>urn:sha1:662f05fcb6798277c69700c7deadd1c3c6a1b363</id>
<content type='text'>
According to DDRPHY errata, the Rank-to-Rank Spacing and tphy_rdcsgap
specification does not include the Critical Delay Difference (CDD) to
properly define the required rank-to-rank read command spacing after
executing PHY training firmware.

Following the errata workaround, at the end of data training, we get
all CDD values through the MessageBlock, then re-configure the DDRC
timing of WWT/WRT/RRT/RWT with comparing MAX CDD values.

Signed-off-by: Ye Li &lt;ye.li@nxp.com&gt;
Acked-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>drivers: use devfdt_get_addr_index_ptr when cast to pointer</title>
<updated>2023-05-06T09:28:18Z</updated>
<author>
<name>Johan Jonker</name>
<email>jbx6244@gmail.com</email>
</author>
<published>2023-03-13T00:32:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=320a1938b6f7ea1ad89f7e18c7fef5898f98fc5b'/>
<id>urn:sha1:320a1938b6f7ea1ad89f7e18c7fef5898f98fc5b</id>
<content type='text'>
The fdt_addr_t and phys_addr_t size have been decoupled. A 32bit CPU
can expect 64-bit data from the device tree parser, so use
devfdt_get_addr_index_ptr instead of the devfdt_get_addr_index function
in the various files in the drivers directory that cast to a pointer.
As we are there also streamline the error response to -EINVAL on return.

Signed-off-by: Johan Jonker &lt;jbx6244@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>ddr: marvell: a38x: Perform DDR training sequence again for 2nd boot</title>
<updated>2023-04-13T09:34:47Z</updated>
<author>
<name>Tony Dinh</name>
<email>mibodhi@gmail.com</email>
</author>
<published>2023-04-03T04:42:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6add83991b2887619d0b25e4068b4c0082a4596a'/>
<id>urn:sha1:6add83991b2887619d0b25e4068b4c0082a4596a</id>
<content type='text'>
- DDR Training sequence happens very fast. The speedup in boot time is
negligible by skipping the training sequence during 2nd boot or after.
So remove the check and skip.
- This change improves the robustness of DDR training. If u-boot crashed
during DDR training, the training could be left in a limbo state, where
the BootROM has recorded that it is already in a 2nd boot. The training
must be repeated in this scenario to get out of this limbo state, but due
to the check it cannot be performed.

Signed-off-by: Tony Dinh &lt;mibodhi@gmail.com&gt;
Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>ddr: imx: Update the ddr init flow on imx8ulp</title>
<updated>2023-03-29T18:15:42Z</updated>
<author>
<name>Jacky Bai</name>
<email>ping.bai@nxp.com</email>
</author>
<published>2023-01-31T08:42:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a29383da7231774808c6034ca68b0231520058a4'/>
<id>urn:sha1:a29383da7231774808c6034ca68b0231520058a4</id>
<content type='text'>
Update the ddr init flow to support LPDDR3 and PLL bypass mode.

Signed-off-by: Jacky Bai &lt;ping.bai@nxp.com&gt;
Reviewed-by: Ye Li &lt;ye.li@nxp.com&gt;
</content>
</entry>
<entry>
<title>ddr: imx8ulp: Change DRAM timing save area to 0x20055000</title>
<updated>2023-03-29T18:15:42Z</updated>
<author>
<name>Ye Li</name>
<email>ye.li@nxp.com</email>
</author>
<published>2023-01-31T08:42:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b36756c769ea22a9077dbba4b6410a7ddfc18016'/>
<id>urn:sha1:b36756c769ea22a9077dbba4b6410a7ddfc18016</id>
<content type='text'>
To align with ARM trusted firmware's change, adjust DRAM timing
save area to new position 0x20055000. So we can release the space
since 0x2006c000 for the NOBITS region of ARM trusted firmware

Signed-off-by: Ye Li &lt;ye.li@nxp.com&gt;
Reviewed-by: Jacky Bai &lt;ping.bai@nxp.com&gt;
</content>
</entry>
<entry>
<title>ddr: marvell: a38x: Remove unused file seq_exec.h</title>
<updated>2023-03-24T12:11:47Z</updated>
<author>
<name>Pali Rohár</name>
<email>pali@kernel.org</email>
</author>
<published>2023-03-04T12:26:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e6900565b58d7d7ceac6364baf6e001a65761598'/>
<id>urn:sha1:e6900565b58d7d7ceac6364baf6e001a65761598</id>
<content type='text'>
DDR code does not use seq_exec.h, so remove it.

Signed-off-by: Pali Rohár &lt;pali@kernel.org&gt;
</content>
</entry>
</feed>
