Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128179
b: refs/heads/master
c: d814083
h: refs/heads/master
i:
  128177: 4d2dd0a
  128175: e1ea198
v: v3
  • Loading branch information
Alexey Korolev authored and David Woodhouse committed Jan 5, 2009
1 parent 4c9331b commit 35da51a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d13e51e747fee301b404dffcf4a7e1bdc558969b
refs/heads/master: d81408304b06a71c28417445202af9cd6673168d
4 changes: 2 additions & 2 deletions trunk/drivers/mtd/maps/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ config MTD_COMPLEX_MAPPINGS
paged mappings of flash chips.

config MTD_PHYSMAP
tristate "CFI Flash device in physical memory map"
depends on MTD_CFI || MTD_JEDECPROBE || MTD_ROM
tristate "Flash device in physical memory map"
depends on MTD_CFI || MTD_JEDECPROBE || MTD_ROM || MTD_LPDDR
help
This provides a 'mapping' driver which allows the NOR Flash and
ROM driver code to communicate with chips which are mapped
Expand Down
8 changes: 7 additions & 1 deletion trunk/drivers/mtd/maps/physmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ static int physmap_flash_remove(struct platform_device *dev)
return 0;
}

static const char *rom_probe_types[] = { "cfi_probe", "jedec_probe", "map_rom", NULL };
static const char *rom_probe_types[] = {
"cfi_probe",
"jedec_probe",
"qinfo_probe",
"map_rom",
NULL };
#ifdef CONFIG_MTD_PARTITIONS
static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", NULL };
#endif
Expand Down Expand Up @@ -117,6 +122,7 @@ static int physmap_flash_probe(struct platform_device *dev)
info->map[i].size = dev->resource[i].end - dev->resource[i].start + 1;
info->map[i].bankwidth = physmap_data->width;
info->map[i].set_vpp = physmap_data->set_vpp;
info->map[i].pfow_base = physmap_data->pfow_base;

info->map[i].virt = devm_ioremap(&dev->dev, info->map[i].phys,
info->map[i].size);
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/mtd/physmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ struct physmap_flash_data {
unsigned int width;
void (*set_vpp)(struct map_info *, int);
unsigned int nr_parts;
unsigned int pfow_base;
struct mtd_partition *parts;
};

Expand Down

0 comments on commit 35da51a

Please sign in to comment.