summaryrefslogtreecommitdiffstats
path: root/target/linux/ubicom32/patches-2.6.30/130-flash_driver_fix.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-30 10:53:47 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-11-30 10:53:47 +0000
commitf0692768a51f613c06c30eb249464ff9567fbc93 (patch)
tree6967781d60eafa96b0aaa18407425f79ae663398 /target/linux/ubicom32/patches-2.6.30/130-flash_driver_fix.patch
parentccbddd608389f38fc9cdd2398babdf04da54126c (diff)
[ubicom32] remove target
This target is unused, does not support any off the shelf hardware and has been a maintenance burden for quite some time now. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34430 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ubicom32/patches-2.6.30/130-flash_driver_fix.patch')
-rw-r--r--target/linux/ubicom32/patches-2.6.30/130-flash_driver_fix.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/target/linux/ubicom32/patches-2.6.30/130-flash_driver_fix.patch b/target/linux/ubicom32/patches-2.6.30/130-flash_driver_fix.patch
deleted file mode 100644
index 95fa50807..000000000
--- a/target/linux/ubicom32/patches-2.6.30/130-flash_driver_fix.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/drivers/mtd/devices/ubi32-m25p80.c
-+++ b/drivers/mtd/devices/ubi32-m25p80.c
-@@ -630,8 +630,8 @@ static int ubicom32_flash_driver_erase(s
- /* sanity checks */
- if (instr->addr + instr->len > flash->mtd.size)
- return -EINVAL;
-- if ((instr->addr % mtd->erasesize) != 0
-- || (instr->len % mtd->erasesize) != 0) {
-+ if (((u32) instr->addr % mtd->erasesize) != 0
-+ || ((u32) instr->len % mtd->erasesize) != 0) {
- return -EINVAL;
- }
-