refresh patches
[openwrt/openwrt.git] / target / linux / rb532 / patches-2.6.28 / 025-rb532_nand_fixup.patch
index 70916098032ca906b0d1e641b1fe8d62de7aa1ff..3c7cccacba9ff11eb8f32d5ce6d855b3b56eeada 100644 (file)
@@ -1,6 +1,6 @@
---- a/arch/mips/rb532/devices.c        2009-01-25 13:36:15.000000000 +0100
-+++ b/arch/mips/rb532/devices.c        2009-01-25 14:00:56.000000000 +0100
-@@ -119,6 +119,19 @@
+--- a/arch/mips/rb532/devices.c
++++ b/arch/mips/rb532/devices.c
+@@ -119,6 +119,19 @@ static struct platform_device cf_slot0 =
  };
  
  /* Resources and device for NAND */
@@ -20,7 +20,7 @@
  static int rb532_dev_ready(struct mtd_info *mtd)
  {
        return gpio_get_value(GPIO_RDY);
-@@ -277,6 +290,16 @@
+@@ -277,6 +290,16 @@ static void __init parse_mac_addr(char *
  /* NAND definitions */
  #define NAND_CHIP_DELAY       25
  
@@ -37,7 +37,7 @@
  static void __init rb532_nand_setup(void)
  {
        switch (mips_machtype) {
-@@ -296,6 +319,8 @@
+@@ -296,6 +319,8 @@ static void __init rb532_nand_setup(void
        rb532_nand_data.chip.partitions = rb532_partition_info;
        rb532_nand_data.chip.chip_delay = NAND_CHIP_DELAY;
        rb532_nand_data.chip.options = NAND_NO_AUTOINCR;