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

Andrea Adami andrea.adami at gmail.com
Sun Mar 17 23:17:14 UTC 2013


* 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 at 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

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;
+ 	}
-- 
1.7.12.4





More information about the Openembedded-devel mailing list