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
amd76xrom.c
autcpu12-nvram.c
bast-flash.c
cdb89712.c
ceiva.c
cfi_flagadm.c
ck804xrom.c
dbox2-flash.c
dc21285.c
dilnetpc.c
dmv182.c
ebony.c
edb7312.c
esb2rom.c
fortunet.c
h720x-flash.c
ichxrom.c
impa7.c
integrator-flash.c
intel_vr_nor.c
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
nettel.c
ocotea.c
octagon-5066.c
omap_nor.c
omap-toto-flash.c
pci.c
pcmciamtd.c
physmap_of.c [MTD] Factor out OF partition support from the NOR driver. 2008-02-03 18:06:48 +11:00
physmap.c [MTD] physmap.c: Add support for multiple resources 2008-02-03 22:16:02 +11:00
plat-ram.c
pmcmsp-flash.c
pmcmsp-ramroot.c
pxa2xx-flash.c
redwood.c
rpxlite.c
sa1100-flash.c
sbc8240.c
sbc_gxx.c
sc520cdp.c
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
tqm8xxl.c
ts5500_flash.c
tsunami_flash.c
uclinux.c
vmax301.c
walnut.c
wr_sbc82xx_flash.c