mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-15 08:05:21 +02:00
a4ba8220f5
* update kernel to .37 * add support for falcon (big thank you goes to lantiq !!) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26021 3c298f89-4303-0410-b956-a3cf2f4a3e73
11 lines
340 B
Diff
11 lines
340 B
Diff
--- a/drivers/mtd/devices/m25p80.c
|
|
+++ b/drivers/mtd/devices/m25p80.c
|
|
@@ -206,6 +206,7 @@ static void m25p_addr2cmd(struct m25p *f
|
|
cmd[1] = addr >> (flash->addr_width * 8 - 8);
|
|
cmd[2] = addr >> (flash->addr_width * 8 - 16);
|
|
cmd[3] = addr >> (flash->addr_width * 8 - 24);
|
|
+ cmd[4] = 0;
|
|
}
|
|
|
|
static int m25p_cmdsz(struct m25p *flash)
|