<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/drivers/mtd/spi/Makefile, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-02-07T10:03:21Z</updated>
<entry>
<title>mtd: spi: Add lightweight SPI flash stack for SPL</title>
<updated>2019-02-07T10:03:21Z</updated>
<author>
<name>Vignesh R</name>
</author>
<published>2019-02-05T05:59:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=778572d7cb1e2df678340fda9b081e4f7bd6c4b3'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>mtd: spi: Switch to new SPI NOR framework</title>
<updated>2019-02-07T10:03:21Z</updated>
<author>
<name>Vignesh R</name>
</author>
<published>2019-02-05T05:59:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=c4e8862308d420e85c227498797c32410d9e47a8'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>arm: sunxi: Move spl spi sunxi code to mach-sunxi</title>
<updated>2018-03-13T14:20:10Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2018-02-06T17:12:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=c2a7a7ef866f2980213fee2a4a0df60fb06db6d0'/>
<id>urn:sha1:c2a7a7ef866f2980213fee2a4a0df60fb06db6d0</id>
<content type='text'>
This SUNXI variant SPL SPI code doesn't use either SPI or
SPL_FLASG subsystems due to size constraints and also placing
this code in drivers/mtd/spi will unnecessary build SPI_FLASH
code(if defined) which never required, hence moved to arch area.

And also renamed the file according to kconfig which resembles
proper name.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>sf: Rename sf_params.c to spi_flash_ids.c</title>
<updated>2016-11-18T07:34:54Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2016-10-30T17:46:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=6645fd2c183a09f8594b5e6b5da279e9ebd70c52'/>
<id>urn:sha1:6645fd2c183a09f8594b5e6b5da279e9ebd70c52</id>
<content type='text'>
Now the flash params table as renamed to spi_flash_ids structure,
so rename the sf_params.c to spi_flash_ids.c and remove the legacy.

Cc: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Cc: York Sun &lt;york.sun@nxp.com&gt;
Cc: Vignesh R &lt;vigneshr@ti.com&gt;
Cc: Mugunthan V N &lt;mugunthanvnm@ti.com&gt;
Cc: Michal Simek &lt;michal.simek@xilinx.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@openedev.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
Tested-by: Jagan Teki &lt;jagan@openedev.com&gt;
Reviewed-by: Siva Durga Prasad Paladugu &lt;sivadur@xilinx.com&gt;
</content>
</entry>
<entry>
<title>spl: spi: Move the generic SPI loader into common/spl</title>
<updated>2016-10-06T19:07:33Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2016-09-25T00:20:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=0a9b73a13e3440994d4b245ffdc86c51361a296d'/>
<id>urn:sha1:0a9b73a13e3440994d4b245ffdc86c51361a296d</id>
<content type='text'>
All the other SPL loaders are in this directory, so move the SPI one in
there too.

There are two board-specific SPI loaders (fsl and sunxi). These remain in
the drivers/mtd/spi directory, since they do not contain generic code.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>sunxi: Support booting from SPI flash</title>
<updated>2016-07-15T06:34:34Z</updated>
<author>
<name>Siarhei Siamashka</name>
</author>
<published>2016-06-07T11:28:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=19e99fb4ff73f648f2b316d0ddd8ee3c01496bd4'/>
<id>urn:sha1:19e99fb4ff73f648f2b316d0ddd8ee3c01496bd4</id>
<content type='text'>
Allwinner devices support SPI flash as one of the possible
bootable media type. The SPI flash chip needs to be connected
to SPI0 pins (port C) to make this work. More information is
available at:

    https://linux-sunxi.org/Bootable_SPI_flash

This patch adds the initial support for booting from SPI flash.
The existing SPI frameworks are not used in order to reduce the
SPL code size. Right now the SPL size grows by ~370 bytes when
CONFIG_SPL_SPI_SUNXI option is enabled.

While there are no popular Allwinner devices with SPI flash at
the moment, testing can be done using a SPI flash module (it
can be bought for ~2$ on ebay) and jumper wires with the boards,
which expose relevant pins on the expansion header. The SPI flash
chips themselves are very cheap (some prices are even listed as
low as 4 cents) and should not cost much if somebody decides to
design a development board with an SPI flash chip soldered on
the PCB.

Another nice feature of the SPI flash is that it can be safely
accessed in a device-independent way (since we know that the
boot ROM is already probing these pins during the boot time).
And if, for example, Olimex boards opted to use SPI flash instead
of EEPROM, then they would have been able to have U-Boot installed
in the SPI flash now and boot the rest of the system from the SATA
hard drive. Hopefully we may see new interesting Allwinner based
development boards in the future, now that the software support
for the SPI flash is in a better shape :-)

Testing can be done by enabling the CONFIG_SPL_SPI_SUNXI option
in a board defconfig, then building U-Boot and finally flashing
the resulting u-boot-sunxi-with-spl.bin binary over USB OTG with
a help of the sunxi-fel tool:

   sunxi-fel spiflash-write 0 u-boot-sunxi-with-spl.bin

The device needs to be switched into FEL (USB recovery) mode first.
The most suitable boards for testing are Orange Pi PC and Pine64.
Because these boards are cheap, have no built-in NAND/eMMC and
expose SPI0 pins on the Raspberry Pi compatible expansion header.
The A13-OLinuXino-Micro board also can be used.

Signed-off-by: Siarhei Siamashka &lt;siarhei.siamashka@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>sf: Rename sf_ops.c to spi-flash.c</title>
<updated>2015-12-11T16:42:24Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2015-12-06T17:59:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=cba65a77c4e75d6e1e3dcaa65b7d509f1a2bb95e'/>
<id>urn:sha1:cba65a77c4e75d6e1e3dcaa65b7d509f1a2bb95e</id>
<content type='text'>
Since all spi-flash core operations are moved into
sf_ops.c then it's better to renamed as spi-flash.c

Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Jagan Teki &lt;jteki@openedev.com&gt;
</content>
</entry>
<entry>
<title>sf: Fix Makefile</title>
<updated>2015-12-11T16:42:23Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2015-09-29T13:46:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=fc335d63b06dc81db45acc77358bdedeeca737c8'/>
<id>urn:sha1:fc335d63b06dc81db45acc77358bdedeeca737c8</id>
<content type='text'>
This patch removes unneeded ifdef and fixed accordingly.

Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Jagan Teki &lt;jteki@openedev.com&gt;
</content>
</entry>
<entry>
<title>sf: Remove eeprom_m95xxx test driver</title>
<updated>2015-11-17T18:31:07Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2015-11-04T07:31:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=7693fb37564422b2e0ec9717deab7ca51a093f4e'/>
<id>urn:sha1:7693fb37564422b2e0ec9717deab7ca51a093f4e</id>
<content type='text'>
The relevent boards which used this driver got zapped
in previous release and the driver is never used in the
code and also it doesn't use/do any spi-flash operations.

Commit details for relevent removed boards:
"ARM: at91: remove non-generic boards"
(sha1: f6b42c140387589ded24749781ce565571092eac)

Cc: Tom Rini &lt;trini@konsulko.com&gt;
Cc: Albin Tonnerre &lt;albin.tonnerre@free-electrons.com&gt;
Signed-off-by: Jagan Teki &lt;jteki@openedev.com&gt;
</content>
</entry>
</feed>
