Skip to contentSkip to conversation

linux-yocto*: mtd: collie: refactor headers of collie-match-cfi-qry.patch

PATCH New Andrea Adami 1 participant 2 messages Feb 17, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 linux-yocto*: mtd: collie: refactor headers of collie-match-cfi-qry.patch

---
 .../patches/patches-mtd/collie-match-cfi-qry.patch    | 19 ++++++++++++++++---
 .../patches/patches-mtd/collie-match-cfi-qry.patch    | 19 ++++++++++++++++---
 .../patches/patches-mtd/collie-match-cfi-qry.patch    | 19 ++++++++++++++++---
 3 files changed, 48 insertions(+), 9 deletions(-)
recipes-kernel/linux/linux-yocto-3.10/patches/patches-mtd/collie-match-cfi-qry.patch +16 -3
index e3fbf2e..a315d93 100644
@@ -1,8 +1,18 @@
+From 66ec11df6561d5ba7cdf41977af828a53ba6b99f Mon Sep 17 00:00:00 2001
+From: Andrea Adami <[email protected]>
+Date: Sat, 1 Feb 2014 13:17:24 +0100
+Subject: [PATCH] mtd: cfi_util.c: force CFI detection of 2x LH28F640BF
+
+Signed-off-by: Andrea Adami <[email protected]>
+---
+ drivers/mtd/chips/cfi_util.c | 16 ++++++++++++++++
+ 1 file changed, 16 insertions(+)
+
 diff --git a/drivers/mtd/chips/cfi_util.c b/drivers/mtd/chips/cfi_util.c
-index f992418..7139d028 100644
+index f992418..2c7a13d 100644
 --- a/drivers/mtd/chips/cfi_util.c
 +++ b/drivers/mtd/chips/cfi_util.c
-@@ -29,6 +29,7 @@
+@@ -29,6 +29,7 @@ int __xipram cfi_qry_present(struct map_info *map, __u32 base,
  	int osf = cfi->interleave * cfi->device_type;	/* scale factor */
  	map_word val[3];
  	map_word qry[3];
@@ -10,7 +20,7 @@ index f992418..7139d028 100644
  
  	qry[0] = cfi_build_cmd('Q', map, cfi);
  	qry[1] = cfi_build_cmd('R', map, cfi);
-@@ -38,6 +39,21 @@
+@@ -38,6 +39,21 @@ int __xipram cfi_qry_present(struct map_info *map, __u32 base,
  	val[1] = map_read(map, base + osf*0x11);
  	val[2] = map_read(map, base + osf*0x12);
  
@@ -32,3 +42,6 @@ index f992418..7139d028 100644
  	if (!map_word_equal(map, qry[0], val[0]))
  		return 0;
  
+-- 
+1.8.1.5
+
recipes-kernel/linux/linux-yocto-dev/patches/patches-mtd/collie-match-cfi-qry.patch +16 -3
index e3fbf2e..a315d93 100644
@@ -1,8 +1,18 @@
+From 66ec11df6561d5ba7cdf41977af828a53ba6b99f Mon Sep 17 00:00:00 2001
+From: Andrea Adami <[email protected]>
+Date: Sat, 1 Feb 2014 13:17:24 +0100
+Subject: [PATCH] mtd: cfi_util.c: force CFI detection of 2x LH28F640BF
+
+Signed-off-by: Andrea Adami <[email protected]>
+---
+ drivers/mtd/chips/cfi_util.c | 16 ++++++++++++++++
+ 1 file changed, 16 insertions(+)
+
 diff --git a/drivers/mtd/chips/cfi_util.c b/drivers/mtd/chips/cfi_util.c
-index f992418..7139d028 100644
+index f992418..2c7a13d 100644
 --- a/drivers/mtd/chips/cfi_util.c
 +++ b/drivers/mtd/chips/cfi_util.c
-@@ -29,6 +29,7 @@
+@@ -29,6 +29,7 @@ int __xipram cfi_qry_present(struct map_info *map, __u32 base,
  	int osf = cfi->interleave * cfi->device_type;	/* scale factor */
  	map_word val[3];
  	map_word qry[3];
@@ -10,7 +20,7 @@ index f992418..7139d028 100644
  
  	qry[0] = cfi_build_cmd('Q', map, cfi);
  	qry[1] = cfi_build_cmd('R', map, cfi);
-@@ -38,6 +39,21 @@
+@@ -38,6 +39,21 @@ int __xipram cfi_qry_present(struct map_info *map, __u32 base,
  	val[1] = map_read(map, base + osf*0x11);
  	val[2] = map_read(map, base + osf*0x12);
  
@@ -32,3 +42,6 @@ index f992418..7139d028 100644
  	if (!map_word_equal(map, qry[0], val[0]))
  		return 0;
  
+-- 
+1.8.1.5
+
recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.10/patches/patches-mtd/collie-match-cfi-qry.patch +16 -3
index e3fbf2e..a315d93 100644
@@ -1,8 +1,18 @@
+From 66ec11df6561d5ba7cdf41977af828a53ba6b99f Mon Sep 17 00:00:00 2001
+From: Andrea Adami <[email protected]>
+Date: Sat, 1 Feb 2014 13:17:24 +0100
+Subject: [PATCH] mtd: cfi_util.c: force CFI detection of 2x LH28F640BF
+
+Signed-off-by: Andrea Adami <[email protected]>
+---
+ drivers/mtd/chips/cfi_util.c | 16 ++++++++++++++++
+ 1 file changed, 16 insertions(+)
+
 diff --git a/drivers/mtd/chips/cfi_util.c b/drivers/mtd/chips/cfi_util.c
-index f992418..7139d028 100644
+index f992418..2c7a13d 100644
 --- a/drivers/mtd/chips/cfi_util.c
 +++ b/drivers/mtd/chips/cfi_util.c
-@@ -29,6 +29,7 @@
+@@ -29,6 +29,7 @@ int __xipram cfi_qry_present(struct map_info *map, __u32 base,
  	int osf = cfi->interleave * cfi->device_type;	/* scale factor */
  	map_word val[3];
  	map_word qry[3];
@@ -10,7 +20,7 @@ index f992418..7139d028 100644
  
  	qry[0] = cfi_build_cmd('Q', map, cfi);
  	qry[1] = cfi_build_cmd('R', map, cfi);
-@@ -38,6 +39,21 @@
+@@ -38,6 +39,21 @@ int __xipram cfi_qry_present(struct map_info *map, __u32 base,
  	val[1] = map_read(map, base + osf*0x11);
  	val[2] = map_read(map, base + osf*0x12);
  
@@ -32,3 +42,6 @@ index f992418..7139d028 100644
  	if (!map_word_equal(map, qry[0], val[0]))
  		return 0;
  
+-- 
+1.8.1.5
+
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 2/2 linux-yocto*: catch up with serial-8250.cfg renaming

include cfg/8250.scc instead

---
 recipes-kernel/linux/linux-yocto-3.10/zaurus-common.scc | 2 +-
 recipes-kernel/linux/linux-yocto-dev/zaurus-common.scc  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/linux/linux-yocto-3.10/zaurus-common.scc +1 -1
index b2354f8..975446d 100644
@@ -3,7 +3,7 @@ kconf non-hardware zaurus-non-hardware.cfg
 
 include cfg/fs/flash_fs.scc
 include cfg/fs/vfat.scc
-include cfg/serial-8250.cfg
+include cfg/8250.scc
 include cfg/sound.scc
 
 include features/vfat/vfat.scc
recipes-kernel/linux/linux-yocto-dev/zaurus-common.scc +1 -1
index b2354f8..975446d 100644
@@ -3,7 +3,7 @@ kconf non-hardware zaurus-non-hardware.cfg
 
 include cfg/fs/flash_fs.scc
 include cfg/fs/vfat.scc
-include cfg/serial-8250.cfg
+include cfg/8250.scc
 include cfg/sound.scc
 
 include features/vfat/vfat.scc
Signature · 1 line
1.8.1.5