diff options
author | John Crispin <john@openwrt.org> | 2012-10-16 13:44:25 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2012-10-16 13:44:25 +0000 |
commit | e75106aa0d82a64122954b5990b50ec80d8e4040 (patch) | |
tree | bcc8ab60e849b3a0debb601b13c7f5356d9683e8 /package/uboot-envtools/patches/003-nor-eraselen.patch | |
parent | 254d851d8a9434e9c8a12a6ec96538ba13101600 (diff) | |
download | mtk-20170518-e75106aa0d82a64122954b5990b50ec80d8e4040.zip mtk-20170518-e75106aa0d82a64122954b5990b50ec80d8e4040.tar.gz mtk-20170518-e75106aa0d82a64122954b5990b50ec80d8e4040.tar.bz2 |
move boot related packages to their own folder
SVN-Revision: 33781
Diffstat (limited to 'package/uboot-envtools/patches/003-nor-eraselen.patch')
-rw-r--r-- | package/uboot-envtools/patches/003-nor-eraselen.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/package/uboot-envtools/patches/003-nor-eraselen.patch b/package/uboot-envtools/patches/003-nor-eraselen.patch deleted file mode 100644 index c6eb59a..0000000 --- a/package/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 */ |