projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6113df9
)
enable MyLoader partition parser
author
Gabor Juhos
<juhosg@openwrt.org>
Sat, 22 Nov 2008 19:43:26 +0000
(19:43 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Sat, 22 Nov 2008 19:43:26 +0000
(19:43 +0000)
SVN-Revision: 13317
target/linux/atheros/config-2.6.26
patch
|
blob
|
history
target/linux/atheros/config-2.6.27
patch
|
blob
|
history
target/linux/atheros/files/drivers/mtd/devices/spiflash.c
patch
|
blob
|
history
target/linux/generic-2.6/patches-2.6.26/081-mtd_myloader_partition_parser.patch
patch
|
blob
|
history
target/linux/generic-2.6/patches-2.6.27/081-mtd_myloader_partition_parser.patch
patch
|
blob
|
history
diff --git
a/target/linux/atheros/config-2.6.26
b/target/linux/atheros/config-2.6.26
index a1ac8b11ca79a128b0e864a5f72dd0075ee023d7..1ad539e16b1e3b58def20b1467519480a4bbd754 100644
(file)
--- 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_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
# 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 e93ea77bab6ace9bb8a7a6e833393404917a9ad8..e4453807c700dfbb1a552c71e3f8c7f1b7ee04e1 100644
(file)
--- 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_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
# 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 c4c2016d8b070ac1617b241c7e89aa97d5e0d4ea..92d4fff9970527cec0f52c0b41eba569cc7b0a85 100644
(file)
--- 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
#ifdef CONFIG_MTD_PARTITIONS
-static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", NULL };
+static const char *part_probe_types[] = { "cmdlinepart", "RedBoot",
"MyLoader",
NULL };
#endif
#endif
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 3095393e537db1db630a60e2853ce04419b5199c..dcf243a482120e0ffd6b5e4e26ec23c16e2519c8 100644
(file)
--- 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"
+config MTD_MYLOADER_PARTS
+ tristate "MyLoader partition parsing"
-+ depends on MTD_PARTITIONS && (ADM5120 || ATHEROS_AR71XX)
++ depends on MTD_PARTITIONS && (ADM5120 || ATHEROS
|| 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
+ ---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 e2305089ea74973afffccda623e0d72873521666..7a5addd63c7abfac54d772fa35c70e9e4ee69b19 100644
(file)
--- 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"
+config MTD_MYLOADER_PARTS
+ tristate "MyLoader partition parsing"
-+ depends on MTD_PARTITIONS && (ADM5120 || ATHEROS_AR71XX)
++ depends on MTD_PARTITIONS && (ADM5120 || ATHEROS
|| 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
+ ---help---
+ MyLoader is a bootloader which allows the user to define partitions
+ in flash devices, by putting a table in the second erase block