Fixes from Compex to make OpenWrt run on WP54AG, thanks !
[openwrt.git] / target / linux / rdc-2.6 / patches / 001-rdc3210_flash_map.patch
index f69fbf8..7411f06 100644 (file)
@@ -6,7 +6,7 @@ diff -urN linux-2.6.17/drivers/mtd/maps/Kconfig linux-2.6.17.new/drivers/mtd/map
          Ltd. in Japan. It uses CFI-compliant flash.
  
 +config MTD_RDC3210
-+      tristate "CFI Flash devcie mapped on RDC3210"
++      tristate "CFI Flash device mapped on RDC3210"
 +      depends on X86 && MTD_CFI && MTD_PARTITIONS
 +      help
 +        RDC-3210 is the flash device we find on Ralink reference board
@@ -25,3 +25,15 @@ diff -urN linux-2.6.17/drivers/mtd/maps/Makefile linux-2.6.17.new/drivers/mtd/ma
  obj-$(CONFIG_MTD_RPXLITE)     += rpxlite.o
  obj-$(CONFIG_MTD_TQM8XXL)     += tqm8xxl.o
  obj-$(CONFIG_MTD_SA1100)      += sa1100-flash.o
+diff -urN linux-2.6.19/drivers/mtd/redboot.c linux-2.6.19.new/drivers/mtd/redboot.c
+--- linux-2.6.19/drivers/mtd/redboot.c  2006-12-18 17:09:14.000000000 +0100
++++ linux-2.6.19.new/drivers/mtd/redboot.c      2006-12-18 17:14:26.000000000 +0100
+@@ -39,7 +39,7 @@
+        return 1;
+ }
+
+-static int parse_redboot_partitions(struct mtd_info *master,
++int parse_redboot_partitions(struct mtd_info *master,
+                              struct mtd_partition **pparts,
+                              unsigned long fis_origin)
+ {
This page took 0.024104 seconds and 4 git commands to generate.