projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: add support for 2.6.36
[openwrt.git]
/
target
/
linux
/
ar7
/
patches-2.6.32
/
920-ar7part.patch
diff --git
a/target/linux/ar7/patches-2.6.32/920-ar7part.patch
b/target/linux/ar7/patches-2.6.32/920-ar7part.patch
index
9846635
..
31e4816
100644
(file)
--- a/
target/linux/ar7/patches-2.6.32/920-ar7part.patch
+++ b/
target/linux/ar7/patches-2.6.32/920-ar7part.patch
@@
-26,13
+26,13
@@
static int create_mtd_partitions(struct mtd_info *master,
struct mtd_partition **pparts,
unsigned long origin)
static int create_mtd_partitions(struct mtd_info *master,
struct mtd_partition **pparts,
unsigned long origin)
-@@ -57,6 +63,16 @@ static int create_mtd_partitions(struct
+@@ -57,6 +63,16 @@ static int create_mtd_partitions(struct
int retries = 10;
struct mtd_partition *ar7_parts;
+ const char *prod_id ;
+ prod_id = prom_getenv("ProductID");
int retries = 10;
struct mtd_partition *ar7_parts;
+ const char *prod_id ;
+ prod_id = prom_getenv("ProductID");
-+ if(prod_id &&
++ if(prod_id &&
+ (strcmp(prod_id, "CYWL")==0 ||
+ strcmp(prod_id, "CYWM")==0 ||
+ strcmp(prod_id, "CYLM")==0 ||
+ (strcmp(prod_id, "CYWL")==0 ||
+ strcmp(prod_id, "CYWM")==0 ||
+ strcmp(prod_id, "CYLM")==0 ||
This page took
0.029169 seconds
and
4
git commands to generate.