switch to 2.6.25.7
[librecmc/librecmc.git] / target / linux / adm5120 / patches / 100-mtd_myloder_partition_parser.patch
index fe9c45b092f9a45d961d0f76b7fa0a8cf9b51134..f5188936da53cd801d5c61ccecdc7146db7af038 100644 (file)
@@ -1,8 +1,8 @@
 --- a/drivers/mtd/Kconfig
 +++ b/drivers/mtd/Kconfig
-@@ -160,6 +160,22 @@
-         for your particular device. It won't happen automatically. The
-         'armflash' map driver (CONFIG_MTD_ARMFLASH) does this, for example.
+@@ -168,6 +168,22 @@
+         the partition map from the children of the flash node,
+         as described in Documentation/powerpc/booting-without-of.txt.
  
 +config MTD_MYLOADER_PARTS
 +      tristate "MyLoader partition parsing"
  config MTD_CHAR
 --- a/drivers/mtd/Makefile
 +++ b/drivers/mtd/Makefile
-@@ -11,6 +11,7 @@
- obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
+@@ -12,6 +12,7 @@
  obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
  obj-$(CONFIG_MTD_AFS_PARTS)   += afs.o
+ obj-$(CONFIG_MTD_OF_PARTS)      += ofpart.o
 +obj-$(CONFIG_MTD_MYLOADER_PARTS) += myloader.o
  
  # 'Users' - code which presents functionality to userspace.