brcm47xx: add fallback sprom for pci devices without an own sprom.
[openwrt.git] / target / linux / lantiq / patches / 916-m25p80-fast-read.patch
1 --- a/drivers/mtd/devices/m25p80.c
2 +++ b/drivers/mtd/devices/m25p80.c
3 @@ -206,6 +206,7 @@ static void m25p_addr2cmd(struct m25p *f
4 cmd[1] = addr >> (flash->addr_width * 8 - 8);
5 cmd[2] = addr >> (flash->addr_width * 8 - 16);
6 cmd[3] = addr >> (flash->addr_width * 8 - 24);
7 + cmd[4] = 0;
8 }
9
10 static int m25p_cmdsz(struct m25p *flash)
This page took 0.038796 seconds and 5 git commands to generate.