<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/ddr/altera, branch v2019.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/ddr/altera?h=v2019.04</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/ddr/altera?h=v2019.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2019-03-09T22:25:19Z</updated>
<entry>
<title>ddr: socfpga: Clean up ddr_setup()</title>
<updated>2019-03-09T22:25:19Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2019-03-09T20:58:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=88c3bb49e1bf2b808cbad1fbdeda09480ae580a7'/>
<id>urn:sha1:88c3bb49e1bf2b808cbad1fbdeda09480ae580a7</id>
<content type='text'>
Replace the current rather convoluted code using ad-hoc polling
mechanism with a more straightforward code. Use wait_for_bit_le32()
to poll the DDRCALSTAT register instead of local reimplementation.
It makes no sense to pull for 5 seconds before giving up and trying
to restart the EMIF, so instead wait 500 mSec for the calibration to
complete and if this fails, restart the EMIF and try again. Perform
this 32 times instead of 3 times as the original code did.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Chin Liang See &lt;chin.liang.see@intel.com&gt;
Cc: Dinh Nguyen &lt;dinguyen@kernel.org&gt;
Cc: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Cc: Tien Fong Chee &lt;tien.fong.chee@intel.com&gt;
</content>
</entry>
<entry>
<title>ddr: socfpga: Clean up EMIF reset</title>
<updated>2019-03-09T22:25:19Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2019-03-09T20:57:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8297dd1d934281175ffa8646a2e3200755402db5'/>
<id>urn:sha1:8297dd1d934281175ffa8646a2e3200755402db5</id>
<content type='text'>
The EMIF reset code can well use wait_for_bit_le32() instead of all that
convoluted polling code. Reduce the timeout from 100 seconds to 1 second,
since if the EMIF fails to reset itself in 1 second, it's unlikely longer
wait would help. Make sure to clear the EMIF reset request even if the
SEQ2CORE_INT_RESP_BIT isn't asserted.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Chin Liang See &lt;chin.liang.see@intel.com&gt;
Cc: Dinh Nguyen &lt;dinguyen@kernel.org&gt;
Cc: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Cc: Tien Fong Chee &lt;tien.fong.chee@intel.com&gt;
</content>
</entry>
<entry>
<title>ddr: socfpga: Fix EMIF clear timeout</title>
<updated>2019-03-09T22:25:19Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2019-03-08T18:11:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ffd1e1a336730b6991c2ae7e7b0605e99d4f2b06'/>
<id>urn:sha1:ffd1e1a336730b6991c2ae7e7b0605e99d4f2b06</id>
<content type='text'>
The current EMIF clear timeout handling code was applying bitwise
operations to signed data types and as it was, was extremely hard
to read. Replace it with simple wait_for_bit(). Expand the error
handling to make it more readable too.

This patch also changes the timeout for emif_clear() from 14 hours
to 1 second.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Chin Liang See &lt;chin.liang.see@intel.com&gt;
Cc: Dinh Nguyen &lt;dinguyen@kernel.org&gt;
Cc: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Cc: Tien Fong Chee &lt;tien.fong.chee@intel.com&gt;
</content>
</entry>
<entry>
<title>ddr: socfpga: Fix newline in debug print on A10</title>
<updated>2019-03-09T16:59:13Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2019-03-06T16:18:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dc3249b91b0c5dffdbd42426a3535bea5e14448f'/>
<id>urn:sha1:dc3249b91b0c5dffdbd42426a3535bea5e14448f</id>
<content type='text'>
The debug print is missing a newline, add it.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Chin Liang See &lt;chin.liang.see@intel.com&gt;
Cc: Dinh Nguyen &lt;dinguyen@kernel.org&gt;
Cc: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Cc: Tien Fong Chee &lt;tien.fong.chee@intel.com&gt;
</content>
</entry>
<entry>
<title>ddr: socfpga: Fix IO in Arria10 DDR driver</title>
<updated>2019-03-09T16:59:13Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2019-03-05T17:37:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=71fc4825f72cc8f9a066e0a23d71e86242738561'/>
<id>urn:sha1:71fc4825f72cc8f9a066e0a23d71e86242738561</id>
<content type='text'>
The Altera Arria10 DDR driver was using constants in a few places
instead of reading registers associated with those constants, fix
this.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Chin Liang See &lt;chin.liang.see@intel.com&gt;
Cc: Dinh Nguyen &lt;dinguyen@kernel.org&gt;
Cc: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Cc: Tien Fong Chee &lt;tien.fong.chee@intel.com&gt;
</content>
</entry>
<entry>
<title>socfpga: stratix10: fix sdram_calculate_size</title>
<updated>2018-09-15T01:17:01Z</updated>
<author>
<name>Dalon Westergreen</name>
<email>dwesterg@gmail.com</email>
</author>
<published>2018-09-11T17:06:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=02d8d3259133ea7af6031e4a780bdac1462ae057'/>
<id>urn:sha1:02d8d3259133ea7af6031e4a780bdac1462ae057</id>
<content type='text'>
Incorrect type of size variable results in 0 being
returned for sdram sizes greater than or equal to
4GB.

Signed-off-by: Dalon Westergreen &lt;dwesterg@gmail.com&gt;
</content>
</entry>
<entry>
<title>ddr: altera: Add ECC DRAM scrubbing support for Arria10</title>
<updated>2018-07-12T07:22:12Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2018-05-28T15:22:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=07252f6f7e37e23cb43245dcddf8ea8f1d45dec1'/>
<id>urn:sha1:07252f6f7e37e23cb43245dcddf8ea8f1d45dec1</id>
<content type='text'>
The SDRAM must first be rewritten by zeroes if ECC is used to initialize
the ECC metadata. Make the CPU overwrite the DRAM with zeroes in such a
case. This scrubbing implementation turns the caches on temporarily, then
overwrites the whole RAM with zeroes, flushes the caches and turns them
off again. This provides satisfactory performance.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Chin Liang See &lt;chin.liang.see@intel.com&gt;
Cc: Dinh Nguyen &lt;dinguyen@kernel.org&gt;
</content>
</entry>
<entry>
<title>ddr: altera: Drop custom dram_bank_mmu_setup() on Arria10</title>
<updated>2018-07-12T07:22:12Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2018-05-29T16:04:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=93a8ed868583460ab9f3796fdc92f4713bf759a9'/>
<id>urn:sha1:93a8ed868583460ab9f3796fdc92f4713bf759a9</id>
<content type='text'>
This function was never used in SPL and the default implementation of
dram_bank_mmu_setup() does the same thing. The only difference is the
part which configures OCRAM as cachable, which doesn't really work as
it covers more than the OCRAM.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Chin Liang See &lt;chin.liang.see@intel.com&gt;
Cc: Dinh Nguyen &lt;dinguyen@kernel.org&gt;
</content>
</entry>
<entry>
<title>ddr: altera: stratix10: Add DDR support for Stratix10 SoC</title>
<updated>2018-07-12T07:22:12Z</updated>
<author>
<name>Ley Foon Tan</name>
<email>ley.foon.tan@intel.com</email>
</author>
<published>2018-05-23T16:17:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0bc28b7cb833d6b16ad614d7e25d448a7b0297df'/>
<id>urn:sha1:0bc28b7cb833d6b16ad614d7e25d448a7b0297df</id>
<content type='text'>
Add DDR support for Stratix SoC

Signed-off-by: Chin Liang See &lt;chin.liang.see@intel.com&gt;
Signed-off-by: Ley Foon Tan &lt;ley.foon.tan@intel.com&gt;
</content>
</entry>
<entry>
<title>SPDX: Fixup SPDX tags in a few new files</title>
<updated>2018-05-20T13:47:45Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2018-05-20T13:47:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=624d2cae3401c2e4d43c571a9b81d1f650e7703d'/>
<id>urn:sha1:624d2cae3401c2e4d43c571a9b81d1f650e7703d</id>
<content type='text'>
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
</feed>
