<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/mtd, branch v2019.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>Convert CONFIG_SF_DEFAULT_* to Kconfig</title>
<updated>2019-03-25T21:36:53+00:00</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@st.com</email>
</author>
<published>2019-02-27T14:20:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=14453fbfadc2f98ca35d6033140466c7a4b4947a'/>
<id>14453fbfadc2f98ca35d6033140466c7a4b4947a</id>
<content type='text'>
This converts the following to Kconfig:
  CONFIG_SF_DEFAULT_BUS
  CONFIG_SF_DEFAULT_CS
  CONFIG_SF_DEFAULT_MODE
  CONFIG_SF_DEFAULT_SPEED

I use moveconfig script and then manual check on generated u-boot.cfg
to solve the remaining issue.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This converts the following to Kconfig:
  CONFIG_SF_DEFAULT_BUS
  CONFIG_SF_DEFAULT_CS
  CONFIG_SF_DEFAULT_MODE
  CONFIG_SF_DEFAULT_SPEED

I use moveconfig script and then manual check on generated u-boot.cfg
to solve the remaining issue.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MTD: mxs_nand_spl: Redo the way nand_init initializes</title>
<updated>2019-03-13T08:14:35+00:00</updated>
<author>
<name>Adam Ford</name>
<email>aford173@gmail.com</email>
</author>
<published>2019-02-18T23:58:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d46d27d3b6558904b8fb44e90393f11c54ef3363'/>
<id>d46d27d3b6558904b8fb44e90393f11c54ef3363</id>
<content type='text'>
Currently the spl system calls nand_init which does nothing.
It isn't until an attempt to load from NAND that it gets initialized.
Subsequent attempts to load just skip the initialization  because
NAND is already initialized.

This moves the contents of mxs_nand_init to nand_init.  In the event
of an error, it clears the number of nand chips found.  Any
attempts to use nand will check if there are nand chips available
instead of actually doing the initialization at that time. If there
are none, it will return an error to the higher level calls.

Signed-off-by: Adam Ford &lt;aford173@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the spl system calls nand_init which does nothing.
It isn't until an attempt to load from NAND that it gets initialized.
Subsequent attempts to load just skip the initialization  because
NAND is already initialized.

This moves the contents of mxs_nand_init to nand_init.  In the event
of an error, it clears the number of nand chips found.  Any
attempts to use nand will check if there are nand chips available
instead of actually doing the initialization at that time. If there
are none, it will return an error to the higher level calls.

Signed-off-by: Adam Ford &lt;aford173@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MTD: nand: mxs_nand: Allow driver to auto setup ECC in SPL</title>
<updated>2019-02-15T11:42:13+00:00</updated>
<author>
<name>Adam Ford</name>
<email>aford173@gmail.com</email>
</author>
<published>2019-01-17T13:16:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=04568bd0b6d673a325eed76bd857a9cbd0c556bc'/>
<id>04568bd0b6d673a325eed76bd857a9cbd0c556bc</id>
<content type='text'>
The initialization of the NAND in SPL hard-coded ecc.bytes,
ecc.size, and ecc.strength which may work for some NAND parts,
but it not appropriate for others.  With the pending patch
"mxs_nand: Fix BCH read timeout error on boards requiring ECC"
the driver can auto configure the ECC when these entries are
blank.  This patch has been tested in NAND flash with oob 64
and oob 128.

Signed-off-by: Adam Ford &lt;aford173@gmail.com&gt;
Tested-by: Jörg Krause &lt;joerg.krause@embedded.rocks&gt;
Acked-by: Tim Harvey &lt;tharvey@gateworks.com&gt;
Tested-by: Tim Harvey &lt;tharvey@gateworks.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The initialization of the NAND in SPL hard-coded ecc.bytes,
ecc.size, and ecc.strength which may work for some NAND parts,
but it not appropriate for others.  With the pending patch
"mxs_nand: Fix BCH read timeout error on boards requiring ECC"
the driver can auto configure the ECC when these entries are
blank.  This patch has been tested in NAND flash with oob 64
and oob 128.

Signed-off-by: Adam Ford &lt;aford173@gmail.com&gt;
Tested-by: Jörg Krause &lt;joerg.krause@embedded.rocks&gt;
Acked-by: Tim Harvey &lt;tharvey@gateworks.com&gt;
Tested-by: Tim Harvey &lt;tharvey@gateworks.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MTD: NAND: mxs_nand_init_dma: Make mxs_nand_init_dma static</title>
<updated>2019-02-15T11:36:44+00:00</updated>
<author>
<name>Adam Ford</name>
<email>aford173@gmail.com</email>
</author>
<published>2019-01-12T12:25:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5645df9e00a01407730dc11d3a2bc4969203dc8c'/>
<id>5645df9e00a01407730dc11d3a2bc4969203dc8c</id>
<content type='text'>
mxs_nand_init_dma is only referenced from mxs_nand.c.  It's not
referenced in any headers or outside code, so this patch
defines it as static.

Signed-off-by: Adam Ford &lt;aford173@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mxs_nand_init_dma is only referenced from mxs_nand.c.  It's not
referenced in any headers or outside code, so this patch
defines it as static.

Signed-off-by: Adam Ford &lt;aford173@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MTD: mxs_nand: Fix BCH read timeout error on boards requiring ECC</title>
<updated>2019-02-15T11:36:08+00:00</updated>
<author>
<name>Adam Ford</name>
<email>aford173@gmail.com</email>
</author>
<published>2019-01-03T02:36:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5ae585ba3a8bb2336d5cb6e1ef4c80a5ef445409'/>
<id>5ae585ba3a8bb2336d5cb6e1ef4c80a5ef445409</id>
<content type='text'>
The LogicPD board uses a Micron Flash with ECC.  To boot this from
SPL, the ECC needs to be correctly configured or the BCH engine
times out.

Signed-off-by: Adam Ford &lt;aford173@gmail.com&gt;
Acked-by: Stefan Agner &lt;stefan.agner@toradex.com&gt;
Tested-by: Jörg Krause &lt;joerg.krause@embedded.rocks&gt;
Acked-by: Tim Harvey &lt;tharvey@gateworks.com&gt;
Tested-by: Tim Harvey &lt;tharvey@gateworks.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The LogicPD board uses a Micron Flash with ECC.  To boot this from
SPL, the ECC needs to be correctly configured or the BCH engine
times out.

Signed-off-by: Adam Ford &lt;aford173@gmail.com&gt;
Acked-by: Stefan Agner &lt;stefan.agner@toradex.com&gt;
Tested-by: Jörg Krause &lt;joerg.krause@embedded.rocks&gt;
Acked-by: Tim Harvey &lt;tharvey@gateworks.com&gt;
Tested-by: Tim Harvey &lt;tharvey@gateworks.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: spi: Add lightweight SPI flash stack for SPL</title>
<updated>2019-02-07T10:03:21+00:00</updated>
<author>
<name>Vignesh R</name>
<email>vigneshr@ti.com</email>
</author>
<published>2019-02-05T05:59:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=778572d7cb1e2df678340fda9b081e4f7bd6c4b3'/>
<id>778572d7cb1e2df678340fda9b081e4f7bd6c4b3</id>
<content type='text'>
Add a tiny SPI flash stack that just supports reading data/images from
SPI flash. This is useful for boards that have SPL size constraints and
would need to use SPI flash framework just to read images/data from
flash. There is approximately 1.5 to 2KB savings with this.

Based on prior work of reducing spi flash id table by
Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;

Signed-off-by: Vignesh R &lt;vigneshr@ti.com&gt;
Tested-by: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Tested-by: Stefan Roese &lt;sr@denx.de&gt;
Tested-by: Horatiu Vultur &lt;horatiu.vultur@microchip.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt; #zynq-microzed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a tiny SPI flash stack that just supports reading data/images from
SPI flash. This is useful for boards that have SPL size constraints and
would need to use SPI flash framework just to read images/data from
flash. There is approximately 1.5 to 2KB savings with this.

Based on prior work of reducing spi flash id table by
Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;

Signed-off-by: Vignesh R &lt;vigneshr@ti.com&gt;
Tested-by: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Tested-by: Stefan Roese &lt;sr@denx.de&gt;
Tested-by: Horatiu Vultur &lt;horatiu.vultur@microchip.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt; #zynq-microzed
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: spi: Remove unused files</title>
<updated>2019-02-07T10:03:21+00:00</updated>
<author>
<name>Vignesh R</name>
<email>vigneshr@ti.com</email>
</author>
<published>2019-02-05T05:59:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5b66fdb29dc319f9f01f1a22f7b277778224d32d'/>
<id>5b66fdb29dc319f9f01f1a22f7b277778224d32d</id>
<content type='text'>
spi_flash and spi_flash_ids are no longer needed after SPI NOR
migration. Remove them.

Signed-off-by: Vignesh R &lt;vigneshr@ti.com&gt;
Tested-by: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Tested-by: Stefan Roese &lt;sr@denx.de&gt;
Tested-by: Horatiu Vultur &lt;horatiu.vultur@microchip.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt; #zynq-microzed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
spi_flash and spi_flash_ids are no longer needed after SPI NOR
migration. Remove them.

Signed-off-by: Vignesh R &lt;vigneshr@ti.com&gt;
Tested-by: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Tested-by: Stefan Roese &lt;sr@denx.de&gt;
Tested-by: Horatiu Vultur &lt;horatiu.vultur@microchip.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt; #zynq-microzed
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: spi: Switch to new SPI NOR framework</title>
<updated>2019-02-07T10:03:21+00:00</updated>
<author>
<name>Vignesh R</name>
<email>vigneshr@ti.com</email>
</author>
<published>2019-02-05T05:59:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c4e8862308d420e85c227498797c32410d9e47a8'/>
<id>c4e8862308d420e85c227498797c32410d9e47a8</id>
<content type='text'>
Switch spi_flash_* interfaces to call into new SPI NOR framework via MTD
layer. Fix up sf_dataflash to work in legacy way. And update sandbox to
use new interfaces/definitions

Signed-off-by: Vignesh R &lt;vigneshr@ti.com&gt;
Tested-by: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Tested-by: Stefan Roese &lt;sr@denx.de&gt;
Tested-by: Horatiu Vultur &lt;horatiu.vultur@microchip.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt; #zynq-microzed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Switch spi_flash_* interfaces to call into new SPI NOR framework via MTD
layer. Fix up sf_dataflash to work in legacy way. And update sandbox to
use new interfaces/definitions

Signed-off-by: Vignesh R &lt;vigneshr@ti.com&gt;
Tested-by: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Tested-by: Stefan Roese &lt;sr@denx.de&gt;
Tested-by: Horatiu Vultur &lt;horatiu.vultur@microchip.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt; #zynq-microzed
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: spi: sf_probe: Add "jedec, spi-nor" compatible string</title>
<updated>2019-02-07T10:03:21+00:00</updated>
<author>
<name>Vignesh R</name>
<email>vigneshr@ti.com</email>
</author>
<published>2019-02-05T05:59:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2ee6705be01c430ad9f71c0bac02d1d59819072c'/>
<id>2ee6705be01c430ad9f71c0bac02d1d59819072c</id>
<content type='text'>
Linux uses "jedec,spi-nor" as compatible string for JEDEC compatible
SPI Flash device nodes. Therefore make U-Boot also to look for the same
compatible string so that we can use Linux DTS files as is.

Signed-off-by: Vignesh R &lt;vigneshr@ti.com&gt;
Tested-by: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Tested-by: Stefan Roese &lt;sr@denx.de&gt;
Tested-by: Horatiu Vultur &lt;horatiu.vultur@microchip.com
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt; #zynq-microzed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Linux uses "jedec,spi-nor" as compatible string for JEDEC compatible
SPI Flash device nodes. Therefore make U-Boot also to look for the same
compatible string so that we can use Linux DTS files as is.

Signed-off-by: Vignesh R &lt;vigneshr@ti.com&gt;
Tested-by: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Tested-by: Stefan Roese &lt;sr@denx.de&gt;
Tested-by: Horatiu Vultur &lt;horatiu.vultur@microchip.com
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt; #zynq-microzed
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: spi: spi-nor-core: Add back U-Boot specific features</title>
<updated>2019-02-07T10:03:21+00:00</updated>
<author>
<name>Vignesh R</name>
<email>vigneshr@ti.com</email>
</author>
<published>2019-02-05T05:59:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8c927809ea960596345c33b02294af6e236d4ad4'/>
<id>8c927809ea960596345c33b02294af6e236d4ad4</id>
<content type='text'>
For legacy reasons, we will have to keep around U-Boot specific
SPI_FLASH_BAR and SPI_TX_BYTE. Add them back to the new framework

Signed-off-by: Vignesh R &lt;vigneshr@ti.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt; #zynq-microzed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For legacy reasons, we will have to keep around U-Boot specific
SPI_FLASH_BAR and SPI_TX_BYTE. Add them back to the new framework

Signed-off-by: Vignesh R &lt;vigneshr@ti.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
Tested-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt; #zynq-microzed
</pre>
</div>
</content>
</entry>
</feed>
