diff options
author | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-03-15 01:36:53 +0000 |
---|---|---|
committer | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-03-15 01:36:53 +0000 |
commit | 4b14bb66eae15c201536383c8f8702e3ce9f21ff (patch) | |
tree | 396dde7183341f5be87573356b172a781de98b68 /package/boot/uboot-envtools/patches/003-nor-eraselen.patch | |
parent | bb775e6d67016f2219672c50c73891710e472439 (diff) |
[package] uboot-envtools: upgrade to version 2013.01.01
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36033 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/uboot-envtools/patches/003-nor-eraselen.patch')
-rw-r--r-- | package/boot/uboot-envtools/patches/003-nor-eraselen.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/package/boot/uboot-envtools/patches/003-nor-eraselen.patch b/package/boot/uboot-envtools/patches/003-nor-eraselen.patch deleted file mode 100644 index c6eb59a72..000000000 --- a/package/boot/uboot-envtools/patches/003-nor-eraselen.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/fw_env.c -+++ b/fw_env.c -@@ -790,7 +790,10 @@ static int flash_write_buf (int dev, int - erase_offset = (offset / blocklen) * blocklen; - - /* Maximum area we may use */ -- erase_len = top_of_range - erase_offset; -+ if (mtd_type == MTD_NANDFLASH) -+ erase_len = top_of_range - erase_offset; -+ else -+ erase_len = blocklen; - - blockstart = erase_offset; - /* Offset inside a block */ |