summaryrefslogtreecommitdiffstats
path: root/package/mtd/mtd-utils/mtd-utils-1.1.0-all-flashcp-npow2-erase.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2009-12-23 10:41:36 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2009-12-23 14:49:54 +0100
commit9400c73582326c543fae82120af3904836145655 (patch)
tree3250d4200d424511c6e0e2bd1002b9fb22cc11ed /package/mtd/mtd-utils/mtd-utils-1.1.0-all-flashcp-npow2-erase.patch
parentb21c77cc08eb8604011d1df6ac405fdacb46d1ad (diff)
downloadbuildroot-novena-9400c73582326c543fae82120af3904836145655.tar.gz
buildroot-novena-9400c73582326c543fae82120af3904836145655.zip
Bump mtd-utils to 1.2.0
Closes #827. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/mtd/mtd-utils/mtd-utils-1.1.0-all-flashcp-npow2-erase.patch')
-rw-r--r--package/mtd/mtd-utils/mtd-utils-1.1.0-all-flashcp-npow2-erase.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/package/mtd/mtd-utils/mtd-utils-1.1.0-all-flashcp-npow2-erase.patch b/package/mtd/mtd-utils/mtd-utils-1.1.0-all-flashcp-npow2-erase.patch
deleted file mode 100644
index b9a0a607c..000000000
--- a/package/mtd/mtd-utils/mtd-utils-1.1.0-all-flashcp-npow2-erase.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-flashcp: handle non-power-of-2 erase size (E.G. for dataflash)
-
-Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
----
- flashcp.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-Index: mtd-utils-1.1.0/flashcp.c
-===================================================================
---- mtd-utils-1.1.0.orig/flashcp.c 2007-08-03 15:55:51.000000000 +0200
-+++ mtd-utils-1.1.0/flashcp.c 2009-02-17 14:02:09.000000000 +0100
-@@ -255,8 +255,9 @@
- #warning "Check for smaller erase regions"
-
- erase.start = 0;
-- erase.length = filestat.st_size & ~(mtd.erasesize - 1);
-- if (filestat.st_size % mtd.erasesize) erase.length += mtd.erasesize;
-+ erase.length = (filestat.st_size + mtd.erasesize - 1) / mtd.erasesize;
-+ erase.length *= mtd.erasesize;
-+
- if (flags & FLAG_VERBOSE)
- {
- /* if the user wants verbose output, erase 1 block at a time and show him/her what's going on */