diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-07-21 17:08:14 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-07-21 17:08:14 +0000 |
commit | 7670811acd1d81f4e97d3c718d9edcac92ca9278 (patch) | |
tree | 10ae3895974888be85ce09abee24fe67b5fbd813 /target/linux/generic-2.6/patches-2.6.25/910-m25p80_redboot_partitions.patch | |
parent | 2d285a2fb74e6fcbf021c752f70a7430a798fca3 (diff) | |
download | master-187ad058-7670811acd1d81f4e97d3c718d9edcac92ca9278.tar.gz master-187ad058-7670811acd1d81f4e97d3c718d9edcac92ca9278.tar.bz2 master-187ad058-7670811acd1d81f4e97d3c718d9edcac92ca9278.zip |
surprise :p
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11894 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.25/910-m25p80_redboot_partitions.patch')
-rw-r--r-- | target/linux/generic-2.6/patches-2.6.25/910-m25p80_redboot_partitions.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.25/910-m25p80_redboot_partitions.patch b/target/linux/generic-2.6/patches-2.6.25/910-m25p80_redboot_partitions.patch new file mode 100644 index 0000000000..5f35f007fc --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.25/910-m25p80_redboot_partitions.patch @@ -0,0 +1,17 @@ +diff -Nur a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c +--- a/drivers/mtd/devices/m25p80.c 2008-07-06 14:36:59.000000000 +0200 ++++ b/drivers/mtd/devices/m25p80.c 2008-07-06 15:17:48.000000000 +0200 +@@ -631,12 +631,10 @@ + struct mtd_partition *parts = NULL; + int nr_parts = 0; + +-#ifdef CONFIG_MTD_CMDLINE_PARTS +- static const char *part_probes[] = { "cmdlinepart", NULL, }; ++ static const char *part_probes[] = { "RedBoot", "cmdlinepart", NULL, }; + + nr_parts = parse_mtd_partitions(&flash->mtd, + part_probes, &parts, 0); +-#endif + + if (nr_parts <= 0 && data && data->parts) { + parts = data->parts; |