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/0002-sf-consistently-use-debug-for-warning-error-messages.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/0002-sf-consistently-use-debug-for-warning-error-messages.patch')
-rw-r--r-- | package/boot/uboot-lantiq/patches/0002-sf-consistently-use-debug-for-warning-error-messages.patch | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/package/boot/uboot-lantiq/patches/0002-sf-consistently-use-debug-for-warning-error-messages.patch b/package/boot/uboot-lantiq/patches/0002-sf-consistently-use-debug-for-warning-error-messages.patch index 597c2c1..af2612f 100644 --- a/package/boot/uboot-lantiq/patches/0002-sf-consistently-use-debug-for-warning-error-messages.patch +++ b/package/boot/uboot-lantiq/patches/0002-sf-consistently-use-debug-for-warning-error-messages.patch @@ -5,11 +5,9 @@ Subject: sf: consistently use debug() for warning/error messages 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 5eb8ffe..04356f1 100644 --- a/drivers/mtd/spi/sf_probe.c +++ b/drivers/mtd/spi/sf_probe.c -@@ -176,8 +176,8 @@ static struct spi_flash *spi_flash_validate_params(struct spi_slave *spi, +@@ -176,8 +176,8 @@ static struct spi_flash *spi_flash_valid } if (i == ARRAY_SIZE(spi_flash_params_table)) { @@ -20,7 +18,7 @@ index 5eb8ffe..04356f1 100644 idcode[0], jedec, ext_jedec); return NULL; } -@@ -296,7 +296,7 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, +@@ -296,7 +296,7 @@ struct spi_flash *spi_flash_probe(unsign /* Setup spi_slave */ spi = spi_setup_slave(bus, cs, max_hz, spi_mode); if (!spi) { @@ -29,7 +27,7 @@ index 5eb8ffe..04356f1 100644 return NULL; } -@@ -310,7 +310,7 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, +@@ -310,7 +310,7 @@ struct spi_flash *spi_flash_probe(unsign /* Read the ID codes */ ret = spi_flash_cmd(spi, CMD_READ_ID, idcode, sizeof(idcode)); if (ret) { @@ -38,7 +36,7 @@ index 5eb8ffe..04356f1 100644 goto err_read_id; } -@@ -341,8 +341,8 @@ struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, +@@ -341,8 +341,8 @@ struct spi_flash *spi_flash_probe(unsign #endif #ifndef CONFIG_SPI_FLASH_BAR if (flash->size > SPI_FLASH_16MB_BOUN) { @@ -49,6 +47,3 @@ index 5eb8ffe..04356f1 100644 } #endif --- -1.8.3.2 - |