Browse Source

enable Myloader partition parser

SVN-Revision: 13257
Gabor Juhos 17 years ago
parent
commit
8a0ac9897f

+ 1 - 0
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_4=y
 # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
 # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
 # CONFIG_MTD_MTDRAM is not set
 # CONFIG_MTD_MTDRAM is not set
+CONFIG_MTD_MYLOADER_PARTS=y
 CONFIG_MTD_NAND=y
 CONFIG_MTD_NAND=y
 # CONFIG_MTD_NAND_CAFE is not set
 # CONFIG_MTD_NAND_CAFE is not set
 # CONFIG_MTD_NAND_DISKONCHIP is not set
 # CONFIG_MTD_NAND_DISKONCHIP is not set

+ 1 - 0
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_4=y
 # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
 # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
 # CONFIG_MTD_MTDRAM is not set
 # CONFIG_MTD_MTDRAM is not set
+CONFIG_MTD_MYLOADER_PARTS=y
 CONFIG_MTD_NAND=y
 CONFIG_MTD_NAND=y
 # CONFIG_MTD_NAND_CAFE is not set
 # CONFIG_MTD_NAND_CAFE is not set
 # CONFIG_MTD_NAND_DISKONCHIP is not set
 # CONFIG_MTD_NAND_DISKONCHIP is not set

+ 1 - 1
target/linux/generic-2.6/patches-2.6.26/081-mtd_myloader_partition_parser.patch

@@ -6,7 +6,7 @@
  
  
 +config MTD_MYLOADER_PARTS
 +config MTD_MYLOADER_PARTS
 +	tristate "MyLoader partition parsing"
 +	tristate "MyLoader partition parsing"
-+	depends on ADM5120 && MTD_PARTITIONS
++	depends on MTD_PARTITIONS && (ADM5120 || ATHEROS_AR71XX)
 +	---help---
 +	---help---
 +	  MyLoader is a bootloader which allows the user to define partitions
 +	  MyLoader is a bootloader which allows the user to define partitions
 +	  in flash devices, by putting a table in the second erase block
 +	  in flash devices, by putting a table in the second erase block

+ 1 - 1
target/linux/generic-2.6/patches-2.6.27/081-mtd_myloader_partition_parser.patch

@@ -6,7 +6,7 @@
  
  
 +config MTD_MYLOADER_PARTS
 +config MTD_MYLOADER_PARTS
 +	tristate "MyLoader partition parsing"
 +	tristate "MyLoader partition parsing"
-+	depends on ADM5120 && MTD_PARTITIONS
++	depends on MTD_PARTITIONS && (ADM5120 || ATHEROS_AR71XX)
 +	---help---
 +	---help---
 +	  MyLoader is a bootloader which allows the user to define partitions
 +	  MyLoader is a bootloader which allows the user to define partitions
 +	  in flash devices, by putting a table in the second erase block
 +	  in flash devices, by putting a table in the second erase block