<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git, branch v2015.07-rc3</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>Prepare v2015.07-rc3</title>
<updated>2015-06-29T21:22:01+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2015-06-29T21:22:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9c6b05cb724e18d1db3f9e1a75b2272572f06fbd'/>
<id>9c6b05cb724e18d1db3f9e1a75b2272572f06fbd</id>
<content type='text'>
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd, spi: Check if flash pointer is used</title>
<updated>2015-06-29T19:10:11+00:00</updated>
<author>
<name>Heiko Schocher</name>
<email>hs@denx.de</email>
</author>
<published>2015-04-27T05:42:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8ee81b7f9b675cb675119a998b04ca843d24ddcd'/>
<id>8ee81b7f9b675cb675119a998b04ca843d24ddcd</id>
<content type='text'>
If flash pointer is used free it, before probing a new
flash and storing it in flash.

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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If flash pointer is used free it, before probing a new
flash and storing it in flash.

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;
</pre>
</div>
</content>
</entry>
<entry>
<title>spi, sf: Use offset and size in sf cmd from mtdpartition</title>
<updated>2015-06-29T19:10:11+00:00</updated>
<author>
<name>Heiko Schocher</name>
<email>hs@denx.de</email>
</author>
<published>2015-04-27T05:42:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2ec1a4059cd0421653b19979a046e9fb7296652f'/>
<id>2ec1a4059cd0421653b19979a046e9fb7296652f</id>
<content type='text'>
With this patch, it is possible to get the offset and size information
from the mtdpartiton setting in "mtdparts", similiar to the
"nand" commandos.

=&gt; sf
sf - SPI flash sub-system

Usage:
sf probe [[bus:]cs] [hz] [mode] - init flash device on given SPI bus
                                  and chip select
sf read addr offset|partition len       - read `len' bytes starting at
                                          `offset' to memory at `addr'
sf write addr offset|partition len      - write `len' bytes from memory
                                          at `addr' to flash at `offset'
sf erase offset|partition [+]len        - erase `len' bytes from `offset'
                                          `+len' round up `len' to block size
sf update addr offset|partition len     - erase and write `len' bytes from memory
                                          at `addr' to flash at `offset'
=&gt;
for example "env" is defined in mtdparts:

=&gt; sf read 13000000 env
device 0 offset 0xd0000, size 0x10000
SF: 65536 bytes @ 0xd0000 Read: OK

zynq-uboot&gt; mtdparts add nor0 0x10000@0x0 env
zynq-uboot&gt; sf erase env 0x10000
SF: 65536 bytes @ 0x0 Erased: OK

zynq-uboot&gt; sf write 0x100 env
device 0 offset 0x0, size 0x10000
SF: 65536 bytes @ 0x0 Written: OK

zynq-uboot&gt; sf read 0x40000 env
device 0 offset 0x0, size 0x10000
SF: 65536 bytes @ 0x0 Read: OK

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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With this patch, it is possible to get the offset and size information
from the mtdpartiton setting in "mtdparts", similiar to the
"nand" commandos.

=&gt; sf
sf - SPI flash sub-system

Usage:
sf probe [[bus:]cs] [hz] [mode] - init flash device on given SPI bus
                                  and chip select
sf read addr offset|partition len       - read `len' bytes starting at
                                          `offset' to memory at `addr'
sf write addr offset|partition len      - write `len' bytes from memory
                                          at `addr' to flash at `offset'
sf erase offset|partition [+]len        - erase `len' bytes from `offset'
                                          `+len' round up `len' to block size
sf update addr offset|partition len     - erase and write `len' bytes from memory
                                          at `addr' to flash at `offset'
=&gt;
for example "env" is defined in mtdparts:

=&gt; sf read 13000000 env
device 0 offset 0xd0000, size 0x10000
SF: 65536 bytes @ 0xd0000 Read: OK

zynq-uboot&gt; mtdparts add nor0 0x10000@0x0 env
zynq-uboot&gt; sf erase env 0x10000
SF: 65536 bytes @ 0x0 Erased: OK

zynq-uboot&gt; sf write 0x100 env
device 0 offset 0x0, size 0x10000
SF: 65536 bytes @ 0x0 Written: OK

zynq-uboot&gt; sf read 0x40000 env
device 0 offset 0x0, size 0x10000
SF: 65536 bytes @ 0x0 Read: OK

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;
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd, nand: Move common functions from cmd_nand.c to common place</title>
<updated>2015-06-29T19:10:11+00:00</updated>
<author>
<name>Heiko Schocher</name>
<email>hs@denx.de</email>
</author>
<published>2015-04-27T05:42:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=09c3280754f8f68a4d7fc0ee397a92b38c4f59e4'/>
<id>09c3280754f8f68a4d7fc0ee397a92b38c4f59e4</id>
<content type='text'>
Move common functions from cmd_nand.c (for calculating offset
and size from cmdline paramter) to common place, so they could
used from other commands which use mtd partitions.

For onenand the arg_off_size() is left in common/cmd_onenand.c.
It should use now the common arg_off() function, but as I could
not test onenand I let it there ...

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Scott Wood &lt;scottwood@freescale.com&gt;
Reviewed-by: Jagannadh Teki &lt;jteki@openedev.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move common functions from cmd_nand.c (for calculating offset
and size from cmdline paramter) to common place, so they could
used from other commands which use mtd partitions.

For onenand the arg_off_size() is left in common/cmd_onenand.c.
It should use now the common arg_off() function, but as I could
not test onenand I let it there ...

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Scott Wood &lt;scottwood@freescale.com&gt;
Reviewed-by: Jagannadh Teki &lt;jteki@openedev.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd, spi: Add MTD layer driver</title>
<updated>2015-06-29T19:10:11+00:00</updated>
<author>
<name>Daniel Schwierzeck</name>
<email>daniel.schwierzeck@gmail.com</email>
</author>
<published>2015-04-27T05:42:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9fe6d8716e090f3b2dd3f4604acfced124b8a2fc'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>defconfig: ls1021a: Add OF_CONTROL and DM support</title>
<updated>2015-06-29T19:10:11+00:00</updated>
<author>
<name>Haikun Wang</name>
<email>Haikun.Wang@freescale.com</email>
</author>
<published>2015-06-27T16:21:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ecfbaa869aa8bd318a017e557faefac2353e9a60'/>
<id>ecfbaa869aa8bd318a017e557faefac2353e9a60</id>
<content type='text'>
PI and QSPI only work when boot from QSPI on ls1021a.
This patch only enable options in qspi boot defconfig.

Signed-off-by: Haikun Wang &lt;haikun.wang@freescale.com&gt;
Tested-by: Haikun Wang &lt;haikun.wang@freescale.com&gt;
Signed-off-by: Jagan Teki &lt;jteki@openedev.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PI and QSPI only work when boot from QSPI on ls1021a.
This patch only enable options in qspi boot defconfig.

Signed-off-by: Haikun Wang &lt;haikun.wang@freescale.com&gt;
Tested-by: Haikun Wang &lt;haikun.wang@freescale.com&gt;
Signed-off-by: Jagan Teki &lt;jteki@openedev.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arm: ls102xa: Enable Driver Model SPI for ls1021atwr</title>
<updated>2015-06-29T19:10:11+00:00</updated>
<author>
<name>Haikun Wang</name>
<email>Haikun.Wang@freescale.com</email>
</author>
<published>2015-06-27T16:16:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9dd3d3c00c3125f510b899b89432586bf260a3de'/>
<id>9dd3d3c00c3125f510b899b89432586bf260a3de</id>
<content type='text'>
Enable Driver Model SPI for ls1021atwr board.
DSPI and QSPI only be enabled when boot from QSPI.
DSPI and QSPI are compatible under Driver Model SPI.

Signed-off-by: Haikun Wang &lt;Haikun.Wang@freescale.com&gt;
Tested-by: Review Code-CDREVIEW &lt;CDREVIEW@freescale.com&gt;
Tested-by: Haikun Wang &lt;haikun.wang@freescale.com&gt;
Reviewed-by: Prabhakar Kushwaha &lt;prabhakar@freescale.com&gt;
Reviewed-by: Jagan Teki &lt;jteki@openedev.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enable Driver Model SPI for ls1021atwr board.
DSPI and QSPI only be enabled when boot from QSPI.
DSPI and QSPI are compatible under Driver Model SPI.

Signed-off-by: Haikun Wang &lt;Haikun.Wang@freescale.com&gt;
Tested-by: Review Code-CDREVIEW &lt;CDREVIEW@freescale.com&gt;
Tested-by: Haikun Wang &lt;haikun.wang@freescale.com&gt;
Reviewed-by: Prabhakar Kushwaha &lt;prabhakar@freescale.com&gt;
Reviewed-by: Jagan Teki &lt;jteki@openedev.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arm: ls102xa: Enable Driver Model SPI for ls1021aqds</title>
<updated>2015-06-29T19:10:10+00:00</updated>
<author>
<name>Haikun Wang</name>
<email>Haikun.Wang@freescale.com</email>
</author>
<published>2015-06-29T07:38:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e5493d4e49cb399c5a506f080fd8b4fa2faf3a19'/>
<id>e5493d4e49cb399c5a506f080fd8b4fa2faf3a19</id>
<content type='text'>
Enable Driver Model SPI for ls1021aqds board.
DSPI and QSPI is enabled only when boot from QSPI.
DSPI and QSPI are compatible under Driver Model SPI.

Signed-off-by: Haikun Wang &lt;Haikun.Wang@freescale.com&gt;
Tested-by: Haikun Wang &lt;haikun.wang@freescale.com&gt;
Reviewed-by: Jagan Teki &lt;jteki@openedev.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enable Driver Model SPI for ls1021aqds board.
DSPI and QSPI is enabled only when boot from QSPI.
DSPI and QSPI are compatible under Driver Model SPI.

Signed-off-by: Haikun Wang &lt;Haikun.Wang@freescale.com&gt;
Tested-by: Haikun Wang &lt;haikun.wang@freescale.com&gt;
Reviewed-by: Jagan Teki &lt;jteki@openedev.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm: ls1021aqds: dts: Use "spi_dataflash" driver instead of "spi_flash_std" for DSPI flash</title>
<updated>2015-06-29T19:10:10+00:00</updated>
<author>
<name>Haikun Wang</name>
<email>Haikun.Wang@freescale.com</email>
</author>
<published>2015-06-26T11:30:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=69a27ea80b81ea38078a8657324516ec042ee49f'/>
<id>69a27ea80b81ea38078a8657324516ec042ee49f</id>
<content type='text'>
The type of DSPI flash on ls1021aqds is AT45DB021, it has specail
commands and page-size.
Use the special spi flash driver instead of "spi_flash_std" driver.

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: Jagan Teki &lt;jteki@openedev.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The type of DSPI flash on ls1021aqds is AT45DB021, it has specail
commands and page-size.
Use the special spi flash driver instead of "spi_flash_std" driver.

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: Jagan Teki &lt;jteki@openedev.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm: sf: Add Atmel DataFlash spi flash driver</title>
<updated>2015-06-29T19:10:10+00:00</updated>
<author>
<name>Haikun Wang</name>
<email>Haikun.Wang@freescale.com</email>
</author>
<published>2015-06-26T11:30:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=79b4c08fc42cd7f6b51183b5338f337116c6fdf3'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
</feed>
