aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532/patches/002-rb532_nand_fixup.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-05-28 18:54:09 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-05-28 18:54:09 +0000
commit59e7b3f29e11c6f200dd18d4c0f28e7586dcbddc (patch)
treefb6178e1cf96f554b64ca2b6efc8b9b13880b346 /target/linux/rb532/patches/002-rb532_nand_fixup.patch
parent02b789b1d895e26b8069740061e537b85f5c1ad6 (diff)
downloadmaster-187ad058-59e7b3f29e11c6f200dd18d4c0f28e7586dcbddc.tar.gz
master-187ad058-59e7b3f29e11c6f200dd18d4c0f28e7586dcbddc.tar.bz2
master-187ad058-59e7b3f29e11c6f200dd18d4c0f28e7586dcbddc.zip
[rb532] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16155 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532/patches/002-rb532_nand_fixup.patch')
-rw-r--r--target/linux/rb532/patches/002-rb532_nand_fixup.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/rb532/patches/002-rb532_nand_fixup.patch b/target/linux/rb532/patches/002-rb532_nand_fixup.patch
index 3c7cccacba..82c191295f 100644
--- a/target/linux/rb532/patches/002-rb532_nand_fixup.patch
+++ b/target/linux/rb532/patches/002-rb532_nand_fixup.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/rb532/devices.c
+++ b/arch/mips/rb532/devices.c
-@@ -119,6 +119,19 @@ static struct platform_device cf_slot0 =
+@@ -140,6 +140,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 @@ static void __init parse_mac_addr(char *
+@@ -281,6 +294,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 @@ static void __init rb532_nand_setup(void
+@@ -300,6 +323,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;