<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/mtd/spi, branch v2015.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/mtd/spi?h=v2015.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/mtd/spi?h=v2015.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2015-07-01T16:09:06Z</updated>
<entry>
<title>sf: Kconfig: Add SPI_FLASH_BAR entry</title>
<updated>2015-07-01T16:09:06Z</updated>
<author>
<name>Jagan Teki</name>
<email>jteki@openedev.com</email>
</author>
<published>2015-06-29T18:02:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=84d31b3b8f2f2134e1534354cba82ca8cb671962'/>
<id>urn:sha1:84d31b3b8f2f2134e1534354cba82ca8cb671962</id>
<content type='text'>
Added SPI_FLASH_BAR entry on Kconfig with help description

Signed-off-by: Jagan Teki &lt;jteki@openedev.com&gt;
</content>
</entry>
<entry>
<title>sf: Kconfig: Add SPI_FLASH_DATAFLASH entry</title>
<updated>2015-07-01T15:52:19Z</updated>
<author>
<name>Jagan Teki</name>
<email>jteki@openedev.com</email>
</author>
<published>2015-07-01T15:52:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cd9accdcd9ab2f421047990ddae43f83cc43ca17'/>
<id>urn:sha1:cd9accdcd9ab2f421047990ddae43f83cc43ca17</id>
<content type='text'>
Added SPI_FLASH_DATAFLASH entry on Kconfig with help description.

data flash driver comes with good decription, hence moved the
same on to kconfig help decription.

Signed-off-by: Jagan Teki &lt;jteki@openedev.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Haikun Wang &lt;haikun.wang@freescale.com&gt;
</content>
</entry>
<entry>
<title>sf: Kconfig: Add SPI_FLASH_MTD entry</title>
<updated>2015-07-01T15:45:04Z</updated>
<author>
<name>Jagan Teki</name>
<email>jteki@openedev.com</email>
</author>
<published>2015-06-27T17:12:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7678dd93ec270d623ee05230004f42226f03c052'/>
<id>urn:sha1:7678dd93ec270d623ee05230004f42226f03c052</id>
<content type='text'>
Added SPI_FLASH_MTD entry on Kconfig with help description.

Signed-off-by: Jagan Teki &lt;jteki@openedev.com&gt;
Acked-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
Cc: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>sf: Kconfig: Update SPI_FLASH entry</title>
<updated>2015-07-01T15:45:04Z</updated>
<author>
<name>Jagan Teki</name>
<email>jteki@openedev.com</email>
</author>
<published>2015-06-28T19:29:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2ce7e2b6fc929fb204a49d7d1391b3d147c138f9'/>
<id>urn:sha1:2ce7e2b6fc929fb204a49d7d1391b3d147c138f9</id>
<content type='text'>
Updated SPI_FLASH entry on Kconfig with depends on
and along with config help description.

Signed-off-by: Jagan Teki &lt;jteki@openedev.com&gt;
</content>
</entry>
<entry>
<title>sf: Add Kconfig menu entry</title>
<updated>2015-07-01T15:45:04Z</updated>
<author>
<name>Jagan Teki</name>
<email>jteki@openedev.com</email>
</author>
<published>2015-06-27T17:09:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=810fd696728794f3d5da8b76b61c104038c7121a'/>
<id>urn:sha1:810fd696728794f3d5da8b76b61c104038c7121a</id>
<content type='text'>
Added Kconfig menu ... endmenu enties for spi flash suppor

Signed-off-by: Jagan Teki &lt;jteki@openedev.com&gt;
</content>
</entry>
<entry>
<title>sf: dataflash: Rename to CONFIG_SPI_FLASH_DATAFLASH</title>
<updated>2015-07-01T15:45:04Z</updated>
<author>
<name>Jagan Teki</name>
<email>jteki@openedev.com</email>
</author>
<published>2015-06-27T16:34:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6812484a40bf18ec8e0021278613caf6a0c46bd7'/>
<id>urn:sha1:6812484a40bf18ec8e0021278613caf6a0c46bd7</id>
<content type='text'>
Rename CONFIG_SF_DATAFLASH into CONFIG_SPI_FLASH_DATAFLASH
as it follows the naming convention same as remaining configs.

Signed-off-by: Jagan Teki &lt;jteki@openedev.com&gt;
</content>
</entry>
<entry>
<title>spi/sf: Minor cleanups</title>
<updated>2015-07-01T15:45:03Z</updated>
<author>
<name>Jagan Teki</name>
<email>jteki@openedev.com</email>
</author>
<published>2015-06-26T19:21:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5d69df3541c3c1a40ed71ff250b9c98bf2b9f582'/>
<id>urn:sha1:5d69df3541c3c1a40ed71ff250b9c98bf2b9f582</id>
<content type='text'>
- Adjust tab spaces
- Add comments

Signed-off-by: Jagan Teki &lt;jteki@openedev.com&gt;
</content>
</entry>
<entry>
<title>sf: update sst25wf040b flash params</title>
<updated>2015-06-29T19:50:37Z</updated>
<author>
<name>Haikun Wang</name>
<email>Haikun.Wang@freescale.com</email>
</author>
<published>2015-06-29T09:15:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9c5a70dbe88072efeaef941b441cc3e89f33b546'/>
<id>urn:sha1:9c5a70dbe88072efeaef941b441cc3e89f33b546</id>
<content type='text'>
sst25wf040b doesn't support Auto Address Increment Programming command.
Remove SST_WR flag.

Signed-off-by: Haikun Wang &lt;B53464@freescale.com&gt;
Tested-by: Haikun Wang &lt;haikun.wang@freescale.com&gt;
Reviewed-by: Jagannadh Teki &lt;jteki@openedev.com&gt;
</content>
</entry>
<entry>
<title>mtd, spi: Add MTD layer driver</title>
<updated>2015-06-29T19:10:11Z</updated>
<author>
<name>Daniel Schwierzeck</name>
<email>daniel.schwierzeck@gmail.com</email>
</author>
<published>2015-04-27T05:42:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9fe6d8716e090f3b2dd3f4604acfced124b8a2fc'/>
<id>urn:sha1:9fe6d8716e090f3b2dd3f4604acfced124b8a2fc</id>
<content type='text'>
Add MTD layer driver for spi, original patch from:
http://git.denx.de/?p=u-boot/u-boot-mips.git;a=commitdiff;h=bb246819cdc90493dd7089eaa51b9e639765cced

Changes from Heiko Schocher against this patch:
- Remove compile error if not defining CONFIG_SPI_FLASH_MTD:

  LD      drivers/mtd/spi/built-in.o
drivers/mtd/spi/sf_probe.o: In function `spi_flash_mtd_unregister':
/home/hs/abb/imx6/u-boot/drivers/mtd/spi/sf_internal.h:168: multiple definition of `spi_flash_mtd_unregister'
drivers/mtd/spi/sf_params.o:/home/hs/abb/imx6/u-boot/drivers/mtd/spi/sf_internal.h:168: first defined here
drivers/mtd/spi/sf_ops.o: In function `spi_flash_mtd_unregister':
/home/hs/abb/imx6/u-boot/drivers/mtd/spi/sf_internal.h:168: multiple definition of `spi_flash_mtd_unregister'
drivers/mtd/spi/sf_params.o:/home/hs/abb/imx6/u-boot/drivers/mtd/spi/sf_internal.h:168: first defined here
make[1]: *** [drivers/mtd/spi/built-in.o] Fehler 1
make: *** [drivers/mtd/spi] Fehler 2

- Add a README entry.
- Add correct writebufsize, to fit with Linux v3.14
  MTD, UBI/UBIFS sync.

Note (From Jagan): For testing raw mtd parition erase/read/write operations
using cmd_sf, sf_mtd should be required to register the spi flash device to
MTD layer but the sf_mtd_info ops were not required until and unless if we
use any flash filesystem layer say for example UBI. Due to this the foot-print
got increased ~290bytes in non-UBI case here that should be acceptible.

Signed-off-by: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Tested-by: Jagannadh Teki &lt;jteki@openedev.com&gt;
Reviewed-by: Jagannadh Teki &lt;jteki@openedev.com&gt;
</content>
</entry>
<entry>
<title>dm: sf: Add Atmel DataFlash spi flash driver</title>
<updated>2015-06-29T19:10:10Z</updated>
<author>
<name>Haikun Wang</name>
<email>Haikun.Wang@freescale.com</email>
</author>
<published>2015-06-26T11:30:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=79b4c08fc42cd7f6b51183b5338f337116c6fdf3'/>
<id>urn:sha1:79b4c08fc42cd7f6b51183b5338f337116c6fdf3</id>
<content type='text'>
Atmel DataFlash chips have commands different from common spi
flash commands.
Atmel DataFlash also have special page-size.
This driver add support for accessing Atmel DataFlash.
It is based on the Driver Model.
Example:
=&gt; sf probe 1:0
SPI DataFlash: Detected AT45DB021B with page size 264 Bytes, erase size 264 Bytes, total 264 KiB, revision d
=&gt; sf erase 0 42000
SF: 270336 bytes @ 0x0 Erased: OK
=&gt; mw.l 82000000 45444342 20000
=&gt; sf write 82000000 0 42000
SF: 270336 bytes @ 0x0 Written: OK
=&gt; sf read 83000000 0 42000
SF: 270336 bytes @ 0x0 Read: OK
=&gt; cmp.b 82000000 83000000 42000
Total of 270336 byte(s) were the same

Signed-off-by: Haikun Wang &lt;haikun.wang@freescale.com&gt;
Tested-by: Haikun Wang &lt;haikun.wang@freescale.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Chakra Divi &lt;cdivi@openedev.com&gt;
Reviewed-by: Jagan Teki &lt;jteki@openedev.com&gt;
</content>
</entry>
</feed>
