Add the infrastructure to support different flash sizes/address
[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,12 @@
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_SC520CDP
15 tristate "CFI Flash device mapped on AMD SC520 CDP"
16 depends on X86 && MTD_CFI
17 diff -urN linux-2.6.17/drivers/mtd/maps/Makefile linux-2.6.17.new/drivers/mtd/maps/Makefile
18 --- linux-2.6.17/drivers/mtd/maps/Makefile 2006-06-18 03:49:35.000000000 +0200
19 +++ linux-2.6.17.new/drivers/mtd/maps/Makefile 2006-09-24 20:26:10.000000000 +0200
20 @@ -28,6 +28,7 @@
21 obj-$(CONFIG_MTD_PHYSMAP) += physmap.o
22 obj-$(CONFIG_MTD_PNC2000) += pnc2000.o
23 obj-$(CONFIG_MTD_PCMCIA) += pcmciamtd.o
24 +obj-$(CONFIG_MTD_RDC3210) += rdc3210.o
25 obj-$(CONFIG_MTD_RPXLITE) += rpxlite.o
26 obj-$(CONFIG_MTD_TQM8XXL) += tqm8xxl.o
27 obj-$(CONFIG_MTD_SA1100) += sa1100-flash.o
28 diff -urN linux-2.6.19/drivers/mtd/redboot.c linux-2.6.19.new/drivers/mtd/redboot.c
29 --- linux-2.6.19/drivers/mtd/redboot.c 2006-12-18 17:09:14.000000000 +0100
30 +++ linux-2.6.19.new/drivers/mtd/redboot.c 2006-12-18 17:14:26.000000000 +0100
31 @@ -39,7 +39,7 @@
32 return 1;
33 }
34
35 -static int parse_redboot_partitions(struct mtd_info *master,
36 +int parse_redboot_partitions(struct mtd_info *master,
37 struct mtd_partition **pparts,
38 unsigned long fis_origin)
39 {
This page took 0.037832 seconds and 5 git commands to generate.