1
linux/drivers/mtd/maps
Stefan Roese 143070e746 mtd: physmap_of: Add multiple regions and concatenation support
This patch adds support to handle multiple non-identical chips in one
flash device tree node. It also adds concat support to physmap_of. This
makes it possible to support e.g. the Intel P30 48F4400 chips which
internally consists of 2 non-identical NOR chips on one die. Additionally
partitions now can span over multiple chips.

To describe such a chip's, multiple "reg" tuples are now supported in one
flash device tree node. Here an dts example:

        flash@f0000000,0 {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "cfi-flash";
                reg = <0 0x00000000 0x02000000
                       0 0x02000000 0x02000000>;
                bank-width = <2>;
                partition@0 {
                        label = "test-part1";
                        reg = <0 0x04000000>;
                };
        };

Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-06-06 08:27:42 +01:00
..
alchemy-flash.c [MTD] Make alchemy_mtd_init function static 2008-12-10 13:01:10 +00:00
amd76xrom.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
autcpu12-nvram.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
bfin-async-flash.c mtd: maps: Blackfin async: fix memory leaks in probe/remove funcs 2009-06-05 18:35:44 +01:00
cdb89712.c [ARM] cdb89712: avoid namespace clashes with SRAM_ and BOOTROM_ constants 2008-11-13 15:05:03 +00:00
ceiva.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
cfi_flagadm.c [MTD] Make init_flagadm function static 2008-12-10 13:01:00 +00:00
ck804xrom.c [MTD] [MAPS] Remove MODULE_DEVICE_TABLE() from ck804rom driver. 2009-02-27 04:52:45 +09:00
dbox2-flash.c [MTD] Make init_dbox2_flash static 2008-12-10 13:01:02 +00:00
dc21285.c [ARM] netwinder: clean up GPIO naming 2008-12-13 09:12:07 +00:00
dilnetpc.c
dmv182.c
edb7312.c [MTD] Make the init_edb7312nor function static 2008-12-10 13:00:51 +00:00
esb2rom.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
fortunet.c [MTD] Make init_fortunet function static 2008-12-10 13:01:13 +00:00
h720x-flash.c [MTD] Make h720x_mtd_init function static 2008-12-10 13:01:23 +00:00
ichxrom.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
impa7.c [MTD] Make init_impa7 static 2008-12-10 13:01:32 +00:00
integrator-flash.c mtd: Add armflash support for multiple blocks of flash 2009-05-29 14:00:21 +01:00
intel_vr_nor.c
ipaq-flash.c [MTD] Make ipaq_mtd_init function static 2008-12-10 13:01:06 +00:00
ixp4xx.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-01-05 10:50:33 +01:00
ixp2000.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-01-05 10:50:33 +01:00
Kconfig mtd: uclinux: do not allow to be built as a module 2009-06-05 18:29:25 +01:00
l440gx.c
Makefile mtd: remove pmcmsp-ramroot.c 2009-06-05 18:10:49 +01:00
map_funcs.c
mbx860.c [MTD] Make init_mbx function static 2008-12-10 13:01:20 +00:00
netsc520.c
nettel.c [MTD] [MAPS] Fix printk format warning in nettel.c 2009-01-09 14:17:50 +00:00
octagon-5066.c [MTD] Make init_oct5066 function static 2008-12-10 13:00:56 +00:00
omap_nor.c [MTD] support driver model updates 2009-04-04 14:32:59 +01:00
pci.c [MTD] [MAPS] Remove unused variable after ROM API cleanup. 2008-10-14 11:00:51 +01:00
pcmciamtd.c pcmcia: remove unused argument to pcmcia_parse_tuple() 2008-08-31 15:50:33 +02:00
physmap_of.c mtd: physmap_of: Add multiple regions and concatenation support 2009-06-06 08:27:42 +01:00
physmap.c [MTD] Remove mtd->{suspend,resume} calls from board drivers 2009-05-26 16:45:44 +01:00
plat-ram.c [MTD] support driver model updates 2009-04-04 14:32:59 +01:00
pmcmsp-flash.c [MTD] Make init_msp_flash function static 2008-12-10 13:01:26 +00:00
pxa2xx-flash.c [MTD] Remove mtd->{suspend,resume} calls from board drivers 2009-05-26 16:45:44 +01:00
rbtx4939-flash.c [MTD] Remove mtd->{suspend,resume} calls from board drivers 2009-05-26 16:45:44 +01:00
redwood.c [MTD] Make init_redwood_flash function static 2008-12-10 13:01:29 +00:00
rpxlite.c [MTD] Make init_rpxlite function static 2008-12-10 13:00:43 +00:00
sa1100-flash.c [MTD] Remove mtd->{suspend,resume} calls from board drivers 2009-05-26 16:45:44 +01:00
sbc8240.c [MTD] Make init_sbc8240_mtd function static 2008-12-10 13:00:23 +00:00
sbc_gxx.c
sc520cdp.c
scb2_flash.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
scx200_docflash.c
solutionengine.c
sun_uflash.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
tqm8xxl.c [MTD] Make init_tqm_mtd function static 2008-12-10 13:00:37 +00:00
ts5500_flash.c
tsunami_flash.c
uclinux.c mtd: uclinux: mark local stuff static 2009-06-05 18:29:35 +01:00
vmax301.c [MTD] Make the function init_vmax301 static 2008-12-10 13:01:17 +00:00
vmu-flash.c mtd: flash mapping support for Dreamcast VMU. 2009-03-10 18:03:02 +09:00
wr_sbc82xx_flash.c [MTD] Make init_sbc82xx_flash function static 2008-12-10 13:00:47 +00:00