Patchwork [meta-handheld,1/5] linux-yocto-tiny-kexecboot: add patch fixing mtd on SL-C3200

login
register
mail settings
Submitter Andrea Adami
Date March 17, 2013, 11:17 p.m.
Message ID <d1c667510df743da86635637dbba3845fa07d8bd.1363561878.git.andrea.adami@gmail.com>
Download mbox | patch
Permalink /patch/46299/
State Accepted, archived
Headers show

Comments

Andrea Adami - March 17, 2013, 11:17 p.m.
* the patch must be listed in SRC_URI when compiling for 'terrier'
* because kernel only knows about spitz and borzoi

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
 .../linux-yocto-tiny-kexecboot-3.2/spitz/3200-mtd.patch     | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.2/spitz/3200-mtd.patch

Patch

diff --git a/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.2/spitz/3200-mtd.patch b/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.2/spitz/3200-mtd.patch
new file mode 100644
index 0000000..4b2a968
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto-tiny-kexecboot-3.2/spitz/3200-mtd.patch
@@ -0,0 +1,13 @@ 
+diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c
+index 953a919..14e7736 100644
+--- a/arch/arm/mach-pxa/spitz.c
++++ b/arch/arm/mach-pxa/spitz.c
+@@ -802,7 +802,7 @@ static void __init spitz_nand_init(void)
+ 		spitz_nand_bbt.len = 1;
+ 		spitz_nand_pdata.ecc_layout = &akita_oobinfo;
+ 	} else if (machine_is_borzoi()) {
+-		spitz_nand_partitions[1].size = 32 * 1024 * 1024;
++		spitz_nand_partitions[1].size = 43 * 1024 * 1024;
+ 		spitz_nand_bbt.len = 1;
+ 		spitz_nand_pdata.ecc_layout = &akita_oobinfo;
+ 	}