diff options
author | John Crispin <blogic@openwrt.org> | 2014-04-22 08:08:19 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-04-22 08:08:19 +0000 |
commit | 7ba6c87efd36eabe97570d69c914b6e3ebffe1b1 (patch) | |
tree | 9cbbe48260ede9dece4838ed081c15e8d4a751d3 /package/boot/uboot-lantiq/patches/0004-sf-add-slim-probe-funtions-for-SPL.patch | |
parent | 8a015b4c65048c86dfb49da6cdd3cd61ed9d2b35 (diff) | |
download | upstream-7ba6c87efd36eabe97570d69c914b6e3ebffe1b1.tar.gz upstream-7ba6c87efd36eabe97570d69c914b6e3ebffe1b1.tar.bz2 upstream-7ba6c87efd36eabe97570d69c914b6e3ebffe1b1.zip |
Refresh patches
Refresh uboot-lantiq patches.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40546 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/uboot-lantiq/patches/0004-sf-add-slim-probe-funtions-for-SPL.patch')
-rw-r--r-- | package/boot/uboot-lantiq/patches/0004-sf-add-slim-probe-funtions-for-SPL.patch | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/package/boot/uboot-lantiq/patches/0004-sf-add-slim-probe-funtions-for-SPL.patch b/package/boot/uboot-lantiq/patches/0004-sf-add-slim-probe-funtions-for-SPL.patch index d1768afec8..960085c16b 100644 --- a/package/boot/uboot-lantiq/patches/0004-sf-add-slim-probe-funtions-for-SPL.patch +++ b/package/boot/uboot-lantiq/patches/0004-sf-add-slim-probe-funtions-for-SPL.patch @@ -5,11 +5,9 @@ Subject: sf: add slim probe funtions for SPL Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> -diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c -index 2bba10c..380aa09 100644 --- a/drivers/mtd/spi/sf_probe.c +++ b/drivers/mtd/spi/sf_probe.c -@@ -365,3 +365,58 @@ void spi_flash_free(struct spi_flash *flash) +@@ -365,3 +365,58 @@ void spi_flash_free(struct spi_flash *fl spi_free_slave(flash->spi); free(flash); } @@ -68,11 +66,9 @@ index 2bba10c..380aa09 100644 + spi_free_slave(flash->spi); +} +#endif -diff --git a/include/spi_flash.h b/include/spi_flash.h -index 25ca8f1..411dd1b 100644 --- a/include/spi_flash.h +++ b/include/spi_flash.h -@@ -69,6 +69,9 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, +@@ -69,6 +69,9 @@ struct spi_flash *spi_flash_probe(unsign unsigned int max_hz, unsigned int spi_mode); void spi_flash_free(struct spi_flash *flash); @@ -82,6 +78,3 @@ index 25ca8f1..411dd1b 100644 static inline int spi_flash_read(struct spi_flash *flash, u32 offset, size_t len, void *buf) { --- -1.8.3.2 - |