diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-11-22 19:43:26 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-11-22 19:43:26 +0000 |
commit | e75ef3e37764a88e9a6687a9f08347091d2209b6 (patch) | |
tree | 83110c684f157d1eda136083afc73f47cf46fc27 /target/linux/atheros | |
parent | c959129ee359e540f11ea3076e63bdbfc10565d5 (diff) | |
download | upstream-e75ef3e37764a88e9a6687a9f08347091d2209b6.tar.gz upstream-e75ef3e37764a88e9a6687a9f08347091d2209b6.tar.bz2 upstream-e75ef3e37764a88e9a6687a9f08347091d2209b6.zip |
[atheros] enable MyLoader partition parser
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13317 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros')
-rw-r--r-- | target/linux/atheros/config-2.6.26 | 1 | ||||
-rw-r--r-- | target/linux/atheros/config-2.6.27 | 1 | ||||
-rw-r--r-- | target/linux/atheros/files/drivers/mtd/devices/spiflash.c | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/atheros/config-2.6.26 b/target/linux/atheros/config-2.6.26 index a1ac8b11ca..1ad539e16b 100644 --- a/target/linux/atheros/config-2.6.26 +++ b/target/linux/atheros/config-2.6.26 @@ -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_ONENAND is not set # CONFIG_MTD_OTP is not set CONFIG_MTD_PARTITIONS=y diff --git a/target/linux/atheros/config-2.6.27 b/target/linux/atheros/config-2.6.27 index e93ea77bab..e4453807c7 100644 --- a/target/linux/atheros/config-2.6.27 +++ b/target/linux/atheros/config-2.6.27 @@ -145,6 +145,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_ONENAND is not set # CONFIG_MTD_OTP is not set CONFIG_MTD_PARTITIONS=y diff --git a/target/linux/atheros/files/drivers/mtd/devices/spiflash.c b/target/linux/atheros/files/drivers/mtd/devices/spiflash.c index c4c2016d8b..92d4fff997 100644 --- a/target/linux/atheros/files/drivers/mtd/devices/spiflash.c +++ b/target/linux/atheros/files/drivers/mtd/devices/spiflash.c @@ -425,7 +425,7 @@ spiflash_write (struct mtd_info *mtd,loff_t to,size_t len,size_t *retlen,const u #ifdef CONFIG_MTD_PARTITIONS -static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", NULL }; +static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", "MyLoader", NULL }; #endif |