mtd/drivers/mtd/chips map_ram.c,1.18,1.19
David Woodhouse
dwmw2 at infradead.org
Mon Jul 12 17:58:46 EDT 2004
- Previous message: mtd/include/linux/mtd cfi.h,1.42,1.43
- Next message: mtd/drivers/mtd/maps amd76xrom.c, 1.10, 1.11 arctic-mtd.c, 1.10,
1.11 autcpu12-nvram.c, 1.5, 1.6 beech-mtd.c, 1.7,
1.8 cdb89712.c, 1.7, 1.8 ceiva.c, 1.9, 1.10 cfi_flagadm.c,
1.11, 1.12 cstm_mips_ixx.c, 1.9, 1.10 db1550-flash.c, 1.1,
1.2 db1x00-flash.c, 1.1, 1.2 dbox2-flash.c, 1.10,
1.11 dc21285.c, 1.18, 1.19 dilnetpc.c, 1.12, 1.13 ebony.c, 1.9,
1.10 edb7312.c, 1.9, 1.10 elan-104nc.c, 1.19,
1.20 epxa10db-flash.c, 1.10, 1.11 fortunet.c, 1.6,
1.7 h720x-flash.c, 1.7, 1.8 ichxrom.c, 1.2, 1.3 impa7.c, 1.9,
1.10 integrator-flash.c, 1.15, 1.16 integrator-flash-v24.c,
1.12, 1.13 iq80310.c, 1.17, 1.18 ixp4xx.c, 1.1, 1.2 l440gx.c,
1.12, 1.13 lasat.c, 1.6, 1.7 lubbock-flash.c, 1.14,
1.15 mbx860.c, 1.5, 1.6 mpc1211.c, 1.1, 1.2 netsc520.c, 1.9,
1.10 nettel.c, 1.4, 1.5 ocelot.c, 1.12, 1.13 octagon-5066.c,
1.24, 1.25 omap-toto-flash.c, 1.1, 1.2 pb1550-flash.c, 1.2,
1.3 pb1xxx-flash.c, 1.10, 1.11 pci.c, 1.6, 1.7 pcmciamtd.c,
1.49, 1.50 pnc2000.c, 1.14, 1.15 redwood.c, 1.7, 1.8 rpxlite.c,
1.19, 1.20 sa1100-flash.c, 1.38, 1.39 sbc8240.c, 1.2,
1.3 sbc_gxx.c, 1.27, 1.28 sc520cdp.c, 1.15, 1.16 scb2_flash.c,
1.7, 1.8 scx200_docflash.c, 1.5, 1.6 solutionengine.c, 1.12,
1.13 sun_uflash.c, 1.8, 1.9 tqm8xxl.c, 1.10,
1.11 tsunami_flash.c, 1.6, 1.7 uclinux.c, 1.6, 1.7 vmax301.c,
1.28, 1.29 wr_sbc82xx_flash.c, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv26627
Modified Files:
map_ram.c
Log Message:
Compile again
Index: map_ram.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/map_ram.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- map_ram.c 17 Jun 2004 14:13:54 -0000 1.18
+++ map_ram.c 12 Jul 2004 21:58:44 -0000 1.19
@@ -104,10 +104,13 @@
/* Yeah, it's inefficient. Who cares? It's faster than a _real_
flash erase. */
struct map_info *map = (struct map_info *)mtd->priv;
+ map_word allff;
unsigned long i;
- for (i=0; i<instr->len; i++)
- map_write8(map, 0xFF, instr->addr + i);
+ allff = map_word_ff(map);
+
+ for (i=0; i<instr->len; i += map_bankwidth(map))
+ map_write(map, allff, instr->addr + i);
instr->state = MTD_ERASE_DONE;
- Previous message: mtd/include/linux/mtd cfi.h,1.42,1.43
- Next message: mtd/drivers/mtd/maps amd76xrom.c, 1.10, 1.11 arctic-mtd.c, 1.10,
1.11 autcpu12-nvram.c, 1.5, 1.6 beech-mtd.c, 1.7,
1.8 cdb89712.c, 1.7, 1.8 ceiva.c, 1.9, 1.10 cfi_flagadm.c,
1.11, 1.12 cstm_mips_ixx.c, 1.9, 1.10 db1550-flash.c, 1.1,
1.2 db1x00-flash.c, 1.1, 1.2 dbox2-flash.c, 1.10,
1.11 dc21285.c, 1.18, 1.19 dilnetpc.c, 1.12, 1.13 ebony.c, 1.9,
1.10 edb7312.c, 1.9, 1.10 elan-104nc.c, 1.19,
1.20 epxa10db-flash.c, 1.10, 1.11 fortunet.c, 1.6,
1.7 h720x-flash.c, 1.7, 1.8 ichxrom.c, 1.2, 1.3 impa7.c, 1.9,
1.10 integrator-flash.c, 1.15, 1.16 integrator-flash-v24.c,
1.12, 1.13 iq80310.c, 1.17, 1.18 ixp4xx.c, 1.1, 1.2 l440gx.c,
1.12, 1.13 lasat.c, 1.6, 1.7 lubbock-flash.c, 1.14,
1.15 mbx860.c, 1.5, 1.6 mpc1211.c, 1.1, 1.2 netsc520.c, 1.9,
1.10 nettel.c, 1.4, 1.5 ocelot.c, 1.12, 1.13 octagon-5066.c,
1.24, 1.25 omap-toto-flash.c, 1.1, 1.2 pb1550-flash.c, 1.2,
1.3 pb1xxx-flash.c, 1.10, 1.11 pci.c, 1.6, 1.7 pcmciamtd.c,
1.49, 1.50 pnc2000.c, 1.14, 1.15 redwood.c, 1.7, 1.8 rpxlite.c,
1.19, 1.20 sa1100-flash.c, 1.38, 1.39 sbc8240.c, 1.2,
1.3 sbc_gxx.c, 1.27, 1.28 sc520cdp.c, 1.15, 1.16 scb2_flash.c,
1.7, 1.8 scx200_docflash.c, 1.5, 1.6 solutionengine.c, 1.12,
1.13 sun_uflash.c, 1.8, 1.9 tqm8xxl.c, 1.10,
1.11 tsunami_flash.c, 1.6, 1.7 uclinux.c, 1.6, 1.7 vmax301.c,
1.28, 1.29 wr_sbc82xx_flash.c, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list