From 546b5ed544503182a9b3e981bc11feebd6042b21 Mon Sep 17 00:00:00 2001 From: juhosg Date: Mon, 21 Jul 2008 17:08:14 +0000 Subject: surprise :p git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11894 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-2.6.25/910-m25p80_redboot_partitions.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 target/linux/generic-2.6/patches-2.6.25/910-m25p80_redboot_partitions.patch (limited to 'target/linux/generic-2.6/patches-2.6.25/910-m25p80_redboot_partitions.patch') 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 000000000..5f35f007f --- /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; -- cgit v1.2.3