linux/drivers/mtd/maps
Stefan Roese df66e7167a [MTD] physmap.c: Add support for multiple resources
This patch extends the physmap mapping driver to support multiple
resources for non-identical NOR chips that will be concatenated together
when selected.

This is needed for example for Intel 48F4400 512MBit chips, since they
consist of 2 single different NOR chips with different geometries. The
first (lower) one has botton boot sectors and the 2nd (upper) has top
boot sectors. This currently isn't handled correctly by calling the
physmap driver once with only one resource covering both chips in one
memory region. The same geometrie is used for both chips.

With this patch the following resource structure can be used to
describe the 48F4400 chip correctly:

static struct resource board_nor_resource[] = {
	[0] = {
		.start = 0xf8000000,
		.end = 0xfbffffff,
		.flags = IORESOURCE_MEM,
	},
	[1] = {
		.start = 0xfc000000,
		.end = 0xffffffff,
		.flags = IORESOURCE_MEM,
	}
};

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2008-02-03 22:16:02 +11:00
..
alchemy-flash.c [MTD] Remove useless references to MIPS_HYDROGEN3 and MIPS_MIRAGE_WHY. 2007-07-23 12:50:51 +01:00
amd76xrom.c [MTD] [MAPS] amd76xrom warning fix 2007-02-18 16:42:25 +00:00
autcpu12-nvram.c
bast-flash.c [MTD] Remove trailing whitespace 2006-11-30 08:17:38 +00:00
cdb89712.c
ceiva.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
cfi_flagadm.c Fix typos in doc and comments 2006-11-30 05:32:19 +01:00
ck804xrom.c [MTD] [MAPS] drivers/mtd/maps/ck804xrom.c: convert pci_module_init() 2007-04-27 23:34:21 +01:00
dbox2-flash.c
dc21285.c
dilnetpc.c [MTD] [MAPS] dilnetpc: Fix printk warning 2007-03-08 09:46:28 +00:00
dmv182.c
ebony.c
edb7312.c
esb2rom.c [MTD] ESB2 check for closed ROM window 2007-03-08 09:21:42 +00:00
fortunet.c
h720x-flash.c
ichxrom.c [MTD] [MAPS] ichxrom warning fix 2007-02-18 16:42:51 +00:00
impa7.c
integrator-flash.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
intel_vr_nor.c [MTD] map driver for NOR flash on the Intel Vermilion Range chipset 2007-09-23 18:51:25 +01:00
ipaq-flash.c
ixp4xx.c
ixp2000.c
Kconfig [MTD] [MAPS] Remove Photron PNC-2000 map driver 2008-01-08 07:46:23 +00:00
l440gx.c
Makefile [MTD] [MAPS] Remove Photron PNC-2000 map driver 2008-01-08 07:46:23 +00:00
map_funcs.c
mbx860.c
mpc1211.c
mtx-1_flash.c
netsc520.c [MTD] [MAPS] netsc520 warning fix 2007-02-18 16:41:31 +00:00
nettel.c [MTD] [MAPS] Cleanup nettel map driver 2007-06-28 23:02:59 +01:00
ocotea.c
octagon-5066.c
omap-toto-flash.c
omap_nor.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
pci.c
pcmciamtd.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
physmap.c [MTD] physmap.c: Add support for multiple resources 2008-02-03 22:16:02 +11:00
physmap_of.c [MTD] Factor out OF partition support from the NOR driver. 2008-02-03 18:06:48 +11:00
plat-ram.c [MTD] [MAPS] fix plat-ram printk format 2007-04-26 07:28:58 +01:00
pmcmsp-flash.c [MTD] pmcmsp-flash.c: kmalloc + memset conversion to k[cz]alloc 2007-08-01 11:03:35 +01:00
pmcmsp-ramroot.c [MTD] Remove references to ROOT_DEV from map drivers. 2007-06-28 20:13:27 +01:00
pxa2xx-flash.c Reinstate lost flush_ioremap_region() fix to pxa2xx-flash driver 2007-10-15 12:55:20 -07:00
redwood.c
rpxlite.c
sa1100-flash.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
sbc8240.c
sbc_gxx.c
sc520cdp.c [MTD] [MAPS] sc520cdp warning fix 2007-02-18 16:41:01 +00:00
scb2_flash.c [MTD] [NOR] Fix incorrect interface code for x16/x32 chips 2008-01-10 22:07:12 +00:00
scx200_docflash.c
sharpsl-flash.c
solutionengine.c
sun_uflash.c [SPARC/64] constify of_get_property return: drivers 2007-04-26 01:54:27 -07:00
tqm8xxl.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
ts5500_flash.c
tsunami_flash.c
uclinux.c [MTD] [MAPS] don't force uclinux mtd map to be root dev 2007-05-11 11:48:15 +01:00
vmax301.c
walnut.c
wr_sbc82xx_flash.c