Loading drivers/mtd/chips/cfi_cmdset_0001.c +1 −0 Original line number Diff line number Diff line Loading @@ -357,6 +357,7 @@ struct mtd_info *cfi_cmdset_0001(struct map_info *map, int primary) mtd->resume = cfi_intelext_resume; mtd->flags = MTD_CAP_NORFLASH; mtd->name = map->name; mtd->writesize = 1; mtd->reboot_notifier.notifier_call = cfi_intelext_reboot; Loading drivers/mtd/chips/jedec.c +1 −0 Original line number Diff line number Diff line Loading @@ -256,6 +256,7 @@ static struct mtd_info *jedec_probe(struct map_info *map) MTD->name = map->name; MTD->type = MTD_NORFLASH; MTD->flags = MTD_CAP_NORFLASH; MTD->writesize = 1; MTD->erasesize = SectorSize*(map->buswidth); // printk("MTD->erasesize is %x\n",(unsigned int)MTD->erasesize); MTD->size = priv->size; Loading drivers/mtd/chips/map_absent.c +2 −1 Original line number Diff line number Diff line Loading @@ -65,6 +65,7 @@ static struct mtd_info *map_absent_probe(struct map_info *map) mtd->sync = map_absent_sync; mtd->flags = 0; mtd->erasesize = PAGE_SIZE; mtd->writesize = 1; __module_get(THIS_MODULE); return mtd; Loading drivers/mtd/chips/map_ram.c +1 −0 Original line number Diff line number Diff line Loading @@ -71,6 +71,7 @@ static struct mtd_info *map_ram_probe(struct map_info *map) mtd->write = mapram_write; mtd->sync = mapram_nop; mtd->flags = MTD_CAP_RAM; mtd->writesize = 1; mtd->erasesize = PAGE_SIZE; while(mtd->size & (mtd->erasesize - 1)) Loading drivers/mtd/chips/map_rom.c +1 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ static struct mtd_info *map_rom_probe(struct map_info *map) mtd->sync = maprom_nop; mtd->flags = MTD_CAP_ROM; mtd->erasesize = map->size; mtd->writesize = 1; __module_get(THIS_MODULE); return mtd; Loading Loading
drivers/mtd/chips/cfi_cmdset_0001.c +1 −0 Original line number Diff line number Diff line Loading @@ -357,6 +357,7 @@ struct mtd_info *cfi_cmdset_0001(struct map_info *map, int primary) mtd->resume = cfi_intelext_resume; mtd->flags = MTD_CAP_NORFLASH; mtd->name = map->name; mtd->writesize = 1; mtd->reboot_notifier.notifier_call = cfi_intelext_reboot; Loading
drivers/mtd/chips/jedec.c +1 −0 Original line number Diff line number Diff line Loading @@ -256,6 +256,7 @@ static struct mtd_info *jedec_probe(struct map_info *map) MTD->name = map->name; MTD->type = MTD_NORFLASH; MTD->flags = MTD_CAP_NORFLASH; MTD->writesize = 1; MTD->erasesize = SectorSize*(map->buswidth); // printk("MTD->erasesize is %x\n",(unsigned int)MTD->erasesize); MTD->size = priv->size; Loading
drivers/mtd/chips/map_absent.c +2 −1 Original line number Diff line number Diff line Loading @@ -65,6 +65,7 @@ static struct mtd_info *map_absent_probe(struct map_info *map) mtd->sync = map_absent_sync; mtd->flags = 0; mtd->erasesize = PAGE_SIZE; mtd->writesize = 1; __module_get(THIS_MODULE); return mtd; Loading
drivers/mtd/chips/map_ram.c +1 −0 Original line number Diff line number Diff line Loading @@ -71,6 +71,7 @@ static struct mtd_info *map_ram_probe(struct map_info *map) mtd->write = mapram_write; mtd->sync = mapram_nop; mtd->flags = MTD_CAP_RAM; mtd->writesize = 1; mtd->erasesize = PAGE_SIZE; while(mtd->size & (mtd->erasesize - 1)) Loading
drivers/mtd/chips/map_rom.c +1 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ static struct mtd_info *map_rom_probe(struct map_info *map) mtd->sync = maprom_nop; mtd->flags = MTD_CAP_ROM; mtd->erasesize = map->size; mtd->writesize = 1; __module_get(THIS_MODULE); return mtd; Loading