aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-11-17 10:23:54 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-11-17 10:23:54 +0000
commit342f4def9ab66099b0b44b5767258f291c37004e (patch)
tree8f114d03efeea98ce10fa31a7ea3f33dbc4e587a
parent30b9e9a0c2ac1e62231eb6e886186e48146c898f (diff)
downloadmaster-187ad058-342f4def9ab66099b0b44b5767258f291c37004e.tar.gz
master-187ad058-342f4def9ab66099b0b44b5767258f291c37004e.tar.bz2
master-187ad058-342f4def9ab66099b0b44b5767258f291c37004e.zip
[ar71xx] enable Myloader partition parser
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13257 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ar71xx/config-2.6.261
-rw-r--r--target/linux/ar71xx/config-2.6.271
-rw-r--r--target/linux/generic-2.6/patches-2.6.26/081-mtd_myloader_partition_parser.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.27/081-mtd_myloader_partition_parser.patch2
4 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ar71xx/config-2.6.26 b/target/linux/ar71xx/config-2.6.26
index 40f0f4fb1e..57393415be 100644
--- a/target/linux/ar71xx/config-2.6.26
+++ b/target/linux/ar71xx/config-2.6.26
@@ -141,6 +141,7 @@ CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MTDRAM is not set
+CONFIG_MTD_MYLOADER_PARTS=y
CONFIG_MTD_NAND=y
# CONFIG_MTD_NAND_CAFE is not set
# CONFIG_MTD_NAND_DISKONCHIP is not set
diff --git a/target/linux/ar71xx/config-2.6.27 b/target/linux/ar71xx/config-2.6.27
index ffb942efcc..61aaeb6ba1 100644
--- a/target/linux/ar71xx/config-2.6.27
+++ b/target/linux/ar71xx/config-2.6.27
@@ -146,6 +146,7 @@ CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MTDRAM is not set
+CONFIG_MTD_MYLOADER_PARTS=y
CONFIG_MTD_NAND=y
# CONFIG_MTD_NAND_CAFE is not set
# CONFIG_MTD_NAND_DISKONCHIP is not set
diff --git a/target/linux/generic-2.6/patches-2.6.26/081-mtd_myloader_partition_parser.patch b/target/linux/generic-2.6/patches-2.6.26/081-mtd_myloader_partition_parser.patch
index 17cd986aee..3095393e53 100644
--- a/target/linux/generic-2.6/patches-2.6.26/081-mtd_myloader_partition_parser.patch
+++ b/target/linux/generic-2.6/patches-2.6.26/081-mtd_myloader_partition_parser.patch
@@ -6,7 +6,7 @@
+config MTD_MYLOADER_PARTS
+ tristate "MyLoader partition parsing"
-+ depends on ADM5120 && MTD_PARTITIONS
++ depends on MTD_PARTITIONS && (ADM5120 || ATHEROS_AR71XX)
+ ---help---
+ MyLoader is a bootloader which allows the user to define partitions
+ in flash devices, by putting a table in the second erase block
diff --git a/target/linux/generic-2.6/patches-2.6.27/081-mtd_myloader_partition_parser.patch b/target/linux/generic-2.6/patches-2.6.27/081-mtd_myloader_partition_parser.patch
index 90e221958c..e2305089ea 100644
--- a/target/linux/generic-2.6/patches-2.6.27/081-mtd_myloader_partition_parser.patch
+++ b/target/linux/generic-2.6/patches-2.6.27/081-mtd_myloader_partition_parser.patch
@@ -6,7 +6,7 @@
+config MTD_MYLOADER_PARTS
+ tristate "MyLoader partition parsing"
-+ depends on ADM5120 && MTD_PARTITIONS
++ depends on MTD_PARTITIONS && (ADM5120 || ATHEROS_AR71XX)
+ ---help---
+ MyLoader is a bootloader which allows the user to define partitions
+ in flash devices, by putting a table in the second erase block