diff for duplicates of <20140109163326.GD17831@enneenne.com> diff --git a/a/1.txt b/N1/1.txt index 8c0fb60..8207741 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -26,8 +26,15 @@ Rodolfo -- -GNU/Linux Solutions e-mail: giometti@enneenne.com -Linux Device Driver giometti@linux.it +GNU/Linux Solutions e-mail: giometti at enneenne.com +Linux Device Driver giometti at linux.it Embedded Systems phone: +39 349 2432127 UNIX programming skype: rodolfo.giometti Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: 0001-mtd-pxa3xx_nand.c-add-support-for-2048-bytes-page-si.patch +Type: text/x-diff +Size: 1192 bytes +Desc: not available +URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140109/2c993927/attachment.bin> diff --git a/a/2.hdr b/a/2.hdr deleted file mode 100644 index 3b42453..0000000 --- a/a/2.hdr +++ /dev/null @@ -1,2 +0,0 @@ -Content-Type: text/x-diff; charset=us-ascii -Content-Disposition: attachment; filename="0001-mtd-pxa3xx_nand.c-add-support-for-2048-bytes-page-si.patch" diff --git a/a/2.txt b/a/2.txt deleted file mode 100644 index 8d6511a..0000000 --- a/a/2.txt +++ /dev/null @@ -1,35 +0,0 @@ ->From 4463f70a77f6aaea216b53e620171c37fb1d4eb3 Mon Sep 17 00:00:00 2001 -From: Rodolfo Giometti <giometti@linux.it> -Date: Mon, 6 Jan 2014 16:18:49 +0100 -Subject: [PATCH] mtd pxa3xx_nand.c: add support for 2048 bytes page size - layout - -Tested-by: Michele Dionisio <michele@cynny.com> -Signed-off-by: Rodolfo Giometti <giometti@linux.it> ---- - drivers/mtd/nand/pxa3xx_nand.c | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c -index 31aae53..fdc179c 100644 ---- a/drivers/mtd/nand/pxa3xx_nand.c -+++ b/drivers/mtd/nand/pxa3xx_nand.c -@@ -1360,6 +1360,16 @@ static int pxa_ecc_init(struct pxa3xx_nand_info *info, - * Required ECC: 4-bit correction per 512 bytes - * Select: 16-bit correction per 2048 bytes - */ -+ } else if (strength == 4 && ecc_stepsize == 512 && page_size == 2048) { -+ info->ecc_bch = 1; -+ info->chunk_size = 2048; -+ info->spare_size = 32; -+ info->ecc_size = 32; -+ ecc->mode = NAND_ECC_HW; -+ ecc->size = info->chunk_size; -+ ecc->strength = 16; -+ return 1; -+ - } else if (strength == 4 && ecc_stepsize == 512 && page_size == 4096) { - info->ecc_bch = 1; - info->chunk_size = 2048; --- -1.8.1.2 diff --git a/a/content_digest b/N1/content_digest index db55038..2920b24 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,17 +4,11 @@ "ref\020140103145336.GA9618@localhost\0" "ref\020140106153438.GX10251@enneenne.com\0" "ref\020140108233603.GB2595@localhost\0" - "From\0Rodolfo Giometti <giometti@enneenne.com>\0" - "Subject\0Re: NAND support for Armada 370\0" + "From\0giometti@enneenne.com (Rodolfo Giometti)\0" + "Subject\0NAND support for Armada 370\0" "Date\0Thu, 9 Jan 2014 17:33:26 +0100\0" - "To\0Ezequiel Garcia <ezequiel.garcia@free-electrons.com>\0" - "Cc\0Thomas Petazzoni <thomas.petazzoni@free-electrons.com>" - Michele Dionisio <michele@cynny.com> - linux-mtd@lists.infradead.org - " Gregory Cl\303\251ment <gregory.clement@free-electrons.com>" - Brian Norris <computersforpeace@gmail.com> - " linux-arm-kernel@lists.infradead.org\0" - "\01:1\0" + "To\0linux-arm-kernel@lists.infradead.org\0" + "\00:1\0" "b\0" "On Wed, Jan 08, 2014 at 08:36:03PM -0300, Ezequiel Garcia wrote:\n" "> Hi Rodolfo,\n" @@ -44,48 +38,17 @@ "\n" "-- \n" "\n" - "GNU/Linux Solutions e-mail: giometti@enneenne.com\n" - "Linux Device Driver giometti@linux.it\n" + "GNU/Linux Solutions e-mail: giometti at enneenne.com\n" + "Linux Device Driver giometti at linux.it\n" "Embedded Systems phone: +39 349 2432127\n" "UNIX programming skype: rodolfo.giometti\n" - Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it - "\01:2\0" - "fn\00001-mtd-pxa3xx_nand.c-add-support-for-2048-bytes-page-si.patch\0" - "b\0" - ">From 4463f70a77f6aaea216b53e620171c37fb1d4eb3 Mon Sep 17 00:00:00 2001\n" - "From: Rodolfo Giometti <giometti@linux.it>\n" - "Date: Mon, 6 Jan 2014 16:18:49 +0100\n" - "Subject: [PATCH] mtd pxa3xx_nand.c: add support for 2048 bytes page size\n" - " layout\n" - "\n" - "Tested-by: Michele Dionisio <michele@cynny.com>\n" - "Signed-off-by: Rodolfo Giometti <giometti@linux.it>\n" - "---\n" - " drivers/mtd/nand/pxa3xx_nand.c | 10 ++++++++++\n" - " 1 file changed, 10 insertions(+)\n" - "\n" - "diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c\n" - "index 31aae53..fdc179c 100644\n" - "--- a/drivers/mtd/nand/pxa3xx_nand.c\n" - "+++ b/drivers/mtd/nand/pxa3xx_nand.c\n" - "@@ -1360,6 +1360,16 @@ static int pxa_ecc_init(struct pxa3xx_nand_info *info,\n" - " \t * Required ECC: 4-bit correction per 512 bytes\n" - " \t * Select: 16-bit correction per 2048 bytes\n" - " \t */\n" - "+\t} else if (strength == 4 && ecc_stepsize == 512 && page_size == 2048) {\n" - "+\t\tinfo->ecc_bch = 1;\n" - "+\t\tinfo->chunk_size = 2048;\n" - "+\t\tinfo->spare_size = 32;\n" - "+\t\tinfo->ecc_size = 32;\n" - "+\t\tecc->mode = NAND_ECC_HW;\n" - "+\t\tecc->size = info->chunk_size;\n" - "+\t\tecc->strength = 16;\n" - "+\t\treturn 1;\n" - "+\n" - " \t} else if (strength == 4 && ecc_stepsize == 512 && page_size == 4096) {\n" - " \t\tinfo->ecc_bch = 1;\n" - " \t\tinfo->chunk_size = 2048;\n" - "-- \n" - 1.8.1.2 + "Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it\n" + "-------------- next part --------------\n" + "A non-text attachment was scrubbed...\n" + "Name: 0001-mtd-pxa3xx_nand.c-add-support-for-2048-bytes-page-si.patch\n" + "Type: text/x-diff\n" + "Size: 1192 bytes\n" + "Desc: not available\n" + URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140109/2c993927/attachment.bin> -7ae9a2c4e201a518f15de3bab43890215cec898d4b10d4463e79f98095e7142f +14baddc06f4506165c7408a21e06c2efcb50b9a783ee6b32f1bcac48d6812686
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.