4c12471ec352800945512c4314ed3e060a86c31b
[openwrt.git] / target / linux / rdc / patches-2.6.27 / 001-rdc3210_flash_map.patch
1 --- a/drivers/mtd/maps/Kconfig
2 +++ b/drivers/mtd/maps/Kconfig
3 @@ -110,6 +110,50 @@
4 Sun Microsystems boardsets. This driver will require CFI support
5 in the kernel, so if you did not enable CFI previously, do that now.
6
7 +config MTD_RDC3210
8 + tristate "CFI Flash device mapped on RDC3210"
9 + depends on X86 && MTD_CFI && MTD_PARTITIONS
10 + help
11 + RDC-3210 is the flash device we find on Ralink reference board.
12 +
13 +config MTD_RDC3210_STATIC_MAP
14 + bool "Partitions on RDC3210 mapped statically" if MTD_RDC3210
15 + select MTD_RDC3210_FACTORY_PRESENT
16 + help
17 + The mapping driver will use the static partition map for the
18 + RDC-3210 flash device.
19 +
20 +config MTD_RDC3210_FACTORY_PRESENT
21 + bool "Reserve a partition on RDC3210 for factory presets"
22 + depends on MTD_RDC3210
23 + default y
24 + help
25 + The mapping driver will reserve a partition on the RDC-3210 flash
26 + device for resetting flash contents to factory defaults.
27 +
28 +config MTD_RDC3210_ALLOW_JFFS2
29 + bool "JFFS2 filesystem usable in a partition on RDC3210"
30 + depends on MTD_RDC3210 && !MTD_RDC3210_STATIC_MAP
31 + help
32 + The mapping driver will align a partition on the RDC-3210 flash
33 + device to an erase-block boundary so that a JFFS2 filesystem may
34 + reside on it.
35 +
36 +config MTD_RDC3210_SIZE
37 + hex "Amount of flash memory on RDC3210"
38 + depends on MTD_RDC3210
39 + default "0x400000"
40 + help
41 + Total size in bytes of the RDC-3210 flash device
42 +
43 +config MTD_RDC3210_BUSWIDTH
44 + int "Width of CFI Flash device mapped on RDC3210"
45 + depends on MTD_RDC3210
46 + default "2"
47 + help
48 + Number of bytes addressed on the RDC-3210 flash device before
49 + addressing the same chip again
50 +
51 config MTD_SC520CDP
52 tristate "CFI Flash device mapped on AMD SC520 CDP"
53 depends on X86 && MTD_CFI && MTD_CONCAT
54 --- a/drivers/mtd/maps/Makefile
55 +++ b/drivers/mtd/maps/Makefile
56 @@ -29,6 +29,7 @@
57 obj-$(CONFIG_MTD_PMC_MSP_EVM) += pmcmsp-flash.o
58 obj-$(CONFIG_MTD_PMC_MSP_RAMROOT)+= pmcmsp-ramroot.o
59 obj-$(CONFIG_MTD_PCMCIA) += pcmciamtd.o
60 +obj-$(CONFIG_MTD_RDC3210) += rdc3210.o
61 obj-$(CONFIG_MTD_RPXLITE) += rpxlite.o
62 obj-$(CONFIG_MTD_TQM8XXL) += tqm8xxl.o
63 obj-$(CONFIG_MTD_SA1100) += sa1100-flash.o
This page took 0.050327 seconds and 3 git commands to generate.