diff options
author | John Crispin <john@openwrt.org> | 2014-04-22 08:08:19 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-04-22 08:08:19 +0000 |
commit | 03a777c29388b974fde3be10f7b82a9610699428 (patch) | |
tree | 557155974382cf222933898e8fa841fa9d5e75b6 /package/boot/uboot-lantiq/patches/0004-sf-add-slim-probe-funtions-for-SPL.patch | |
parent | 686a17e6479a3185147e800dc1a7ffc9ae1bfbf0 (diff) | |
download | mtk-20170518-03a777c29388b974fde3be10f7b82a9610699428.zip mtk-20170518-03a777c29388b974fde3be10f7b82a9610699428.tar.gz mtk-20170518-03a777c29388b974fde3be10f7b82a9610699428.tar.bz2 |
Refresh patches
Refresh uboot-lantiq patches.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 40546
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 d1768af..960085c 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 - |