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 | f529a3742043a23da4f715c3664d5a822b1f970c (patch) | |
tree | a4cdaee84e23765d98072df25883f365cbc0d66a /target/linux/generic-2.6/patches-2.6.25/910-m25p80_redboot_partitions.patch | |
parent | 3d9c4c9073deaf01d592d6940af21be81d92e88a (diff) | |
download | upstream-f529a3742043a23da4f715c3664d5a822b1f970c.tar.gz upstream-f529a3742043a23da4f715c3664d5a822b1f970c.tar.bz2 upstream-f529a3742043a23da4f715c3664d5a822b1f970c.zip |
surprise :p
SVN-Revision: 11894
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; |