enable start-stop-daemon by default, i want to use this to clean up a few init script...
[openwrt/openwrt.git] / target / linux / rdc-2.6 / patches / 001-rdc3210_flash_map.patch
1 diff -urN linux-2.6.17/drivers/mtd/maps/Kconfig linux-2.6.17.new/drivers/mtd/maps/Kconfig
2 --- linux-2.6.17/drivers/mtd/maps/Kconfig 2006-06-18 03:49:35.000000000 +0200
3 +++ linux-2.6.17.new/drivers/mtd/maps/Kconfig 2006-09-24 20:28:11.000000000 +0200
4 @@ -76,6 +76,50 @@
5 PNC-2000 is the name of Network Camera product from PHOTRON
6 Ltd. in Japan. It uses CFI-compliant flash.
7
8 +config MTD_RDC3210
9 + tristate "CFI Flash device mapped on RDC3210"
10 + depends on X86 && MTD_CFI && MTD_PARTITIONS
11 + help
12 + RDC-3210 is the flash device we find on Ralink reference board.
13 +
14 +config MTD_RDC3210_STATIC_MAP
15 + bool "Partitions on RDC3210 mapped statically" if MTD_RDC3210
16 + select MTD_RDC3210_FACTORY_PRESENT
17 + help
18 + The mapping driver will use the static partition map for the
19 + RDC-3210 flash device.
20 +
21 +config MTD_RDC3210_FACTORY_PRESENT
22 + bool "Reserve a partition on RDC3210 for factory presets"
23 + depends on MTD_RDC3210
24 + default y
25 + help
26 + The mapping driver will reserve a partition on the RDC-3210 flash
27 + device for resetting flash contents to factory defaults.
28 +
29 +config MTD_RDC3210_ALLOW_JFFS2
30 + bool "JFFS2 filesystem usable in a partition on RDC3210"
31 + depends on MTD_RDC3210 && !MTD_RDC3210_STATIC_MAP
32 + help
33 + The mapping driver will align a partition on the RDC-3210 flash
34 + device to an erase-block boundary so that a JFFS2 filesystem may
35 + reside on it.
36 +
37 +config MTD_RDC3210_SIZE
38 + hex "Amount of flash memory on RDC3210"
39 + depends on MTD_RDC3210
40 + default "0x400000"
41 + help
42 + Total size in bytes of the RDC-3210 flash device
43 +
44 +config MTD_RDC3210_BUSWIDTH
45 + int "Width of CFI Flash device mapped on RDC3210"
46 + depends on MTD_RDC3210
47 + default "2"
48 + help
49 + Number of bytes addressed on the RDC-3210 flash device before
50 + addressing the same chip again
51 +
52 config MTD_SC520CDP
53 tristate "CFI Flash device mapped on AMD SC520 CDP"
54 depends on X86 && MTD_CFI && MTD_CONCAT
55 diff -urN linux-2.6.17/drivers/mtd/maps/Makefile linux-2.6.17.new/drivers/mtd/maps/Makefile
56 --- linux-2.6.17/drivers/mtd/maps/Makefile 2006-06-18 03:49:35.000000000 +0200
57 +++ linux-2.6.17.new/drivers/mtd/maps/Makefile 2006-09-24 20:26:10.000000000 +0200
58 @@ -28,6 +28,7 @@
59 obj-$(CONFIG_MTD_PHYSMAP) += physmap.o
60 obj-$(CONFIG_MTD_PNC2000) += pnc2000.o
61 obj-$(CONFIG_MTD_PCMCIA) += pcmciamtd.o
62 +obj-$(CONFIG_MTD_RDC3210) += rdc3210.o
63 obj-$(CONFIG_MTD_RPXLITE) += rpxlite.o
64 obj-$(CONFIG_MTD_TQM8XXL) += tqm8xxl.o
65 obj-$(CONFIG_MTD_SA1100) += sa1100-flash.o