only build avr32 u-boot if requested, fixes build failure in default config
[openwrt.git] / target / linux / adm5120 / patches / 100-mtd_myloder_partition_parser.patch
index 8015f32..f518893 100644 (file)
@@ -1,10 +1,8 @@
-Index: linux-2.6.24.2/drivers/mtd/Kconfig
-===================================================================
---- linux-2.6.24.2.orig/drivers/mtd/Kconfig
-+++ linux-2.6.24.2/drivers/mtd/Kconfig
-@@ -160,6 +160,22 @@ config MTD_AFS_PARTS
-         for your particular device. It won't happen automatically. The
-         'armflash' map driver (CONFIG_MTD_ARMFLASH) does this, for example.
+--- a/drivers/mtd/Kconfig
++++ b/drivers/mtd/Kconfig
+@@ -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"
@@ -25,14 +23,12 @@ Index: linux-2.6.24.2/drivers/mtd/Kconfig
  comment "User Modules And Translation Layers"
  
  config MTD_CHAR
-Index: linux-2.6.24.2/drivers/mtd/Makefile
-===================================================================
---- linux-2.6.24.2.orig/drivers/mtd/Makefile
-+++ linux-2.6.24.2/drivers/mtd/Makefile
-@@ -11,6 +11,7 @@ obj-$(CONFIG_MTD_CONCAT)     += mtdconcat.o
- obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
+--- a/drivers/mtd/Makefile
++++ b/drivers/mtd/Makefile
+@@ -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.
This page took 0.021807 seconds and 4 git commands to generate.