Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/622/?format=api
{ "id": 622, "url": "http://patchwork.ozlabs.org/api/patches/622/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/33142758.53091221828088797.JavaMail.weblogic@epml16/", "project": { "id": 3, "url": "http://patchwork.ozlabs.org/api/projects/3/?format=api", "name": "Linux MTD development", "link_name": "linux-mtd", "list_id": "linux-mtd.lists.infradead.org", "list_email": "linux-mtd@lists.infradead.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<33142758.53091221828088797.JavaMail.weblogic@epml16>", "list_archive_url": null, "date": "2008-09-19T12:41:28", "name": "[MTD-UTILS] Add support for 4KB page flash devices", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "537936a6598832b5d2614adcb08c43308e295648", "submitter": { "id": 305, "url": "http://patchwork.ozlabs.org/api/people/305/?format=api", "name": "AYYANARPONNUSAMY GANGHEYAMOORTHY", "email": "moorthy.apg@samsung.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/33142758.53091221828088797.JavaMail.weblogic@epml16/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/622/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/622/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@ozlabs.org", "Received": [ "from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34])\n\t(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\n\t(Client did not present a certificate)\n\tby ozlabs.org (Postfix) with ESMTPS id 9D1D7DE037\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 20 Sep 2008 00:06:47 +1000 (EST)", "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux))\n\tid 1KggbD-0005v3-VJ; Fri, 19 Sep 2008 14:04:44 +0000", "from mailout1.samsung.com ([203.254.224.24])\n\tby bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux))\n\tid 1KgfIf-0008AC-Qo\n\tfor linux-mtd@lists.infradead.org; Fri, 19 Sep 2008 12:41:33 +0000", "from ep_ms13_bk (mailout1.samsung.com [203.254.224.24])\n\tby mailout1.samsung.com\n\t(iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004))\n\twith ESMTP id <0K7G00LAT0L57I@mailout1.samsung.com> for\n\tlinux-mtd@lists.infradead.org; Fri, 19 Sep 2008 21:41:29 +0900 (KST)", "from ep_spt04 (ms13.samsung.com [203.254.225.109])\n\tby ms13.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul\n\t14 2004)) with ESMTP id <0K7G00LJT0L4MY@ms13.samsung.com> for\n\tlinux-mtd@lists.infradead.org; Fri, 19 Sep 2008 21:41:29 +0900 (KST)" ], "Content-return": "prohibited", "Date": "Fri, 19 Sep 2008 12:41:28 +0000 (GMT)", "From": "AYYANARPONNUSAMY GANGHEYAMOORTHY <moorthy.apg@samsung.com>", "Subject": "[PATCH] [MTD-UTILS] Add support for 4KB page flash devices", "To": "linux-mtd@lists.infradead.org", "Message-id": "<33142758.53091221828088797.JavaMail.weblogic@epml16>", "MIME-version": [ "1.0", "1.0" ], "X-Priority": "3", "Msgkey": "20080919124020363@moorthy.apg", "X-MTR": "20080919124020363@moorthy.apg", "X-EPLocale": "en_US.windows-1252", "X-EPWebmail-Msg-Type": "personal", "X-EPWebmail-Reply-Demand": "0", "X-EPApproval-Locale": "", "X-EPHeader": "ML", "X-EPTrCode": "", "X-EPTrName": "", "X-Spam-Score": "-1.2 (-)", "X-Spam-Report": "SpamAssassin version 3.2.5 on bombadil.infradead.org summary:\n\tContent analysis details: (-1.2 points)\n\tpts rule name description\n\t---- ----------------------\n\t--------------------------------------------------\n\t0.0 MIME_BASE64_BLANKS RAW: Extra blank lines in base64 encoding\n\t2.8 MIME_BASE64_TEXT RAW: Message text disguised using base64\n\tencoding\n\t-4.0 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,\n\tmedium trust [203.254.224.24 listed in list.dnswl.org]", "Cc": "David.Woodhouse@intel.com", "X-BeenThere": "linux-mtd@lists.infradead.org", "X-Mailman-Version": "2.1.9", "Precedence": "list", "Reply-To": "moorthy.apg@samsung.com", "List-Id": "Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>", "List-Unsubscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/linux-mtd>", "List-Post": "<mailto:linux-mtd@lists.infradead.org>", "List-Help": "<mailto:linux-mtd-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "linux-mtd-bounces@lists.infradead.org", "Errors-To": "linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org" }, "content": "We can now use these utilities on 4KB devices.\n\nSigned-off-by: Rohit Hagargundgi <h.rohit@samsung.com>", "diff": "--- a/flash_otp_write.c\t2008-06-27 21:51:28.000000000 +0530\n+++ b/flash_otp_write.c\t2008-07-01 16:04:12.000000000 +0530\n@@ -18,7 +18,7 @@ int main(int argc,char *argv[])\n \tint fd, val, ret, size, wrote, len;\n \tmtd_info_t mtdInfo;\n \toff_t offset;\n-\tchar *p, buf[2048];\n+\tchar *p, buf[4096];\n \n \tif (argc != 4 || strcmp(argv[1], \"-u\")) {\n \t\tfprintf(stderr, \"Usage: %s -u <device> <offset>\\n\", argv[0]);\n--- a/include/mtd/mtd-abi.h\t2008-06-27 21:51:28.000000000 +0530\n+++ b/include/mtd/mtd-abi.h\t2008-06-30 18:51:39.000000000 +0530\n@@ -104,7 +104,7 @@ struct nand_oobinfo {\n \tuint32_t useecc;\n \tuint32_t eccbytes;\n \tuint32_t oobfree[8][2];\n-\tuint32_t eccpos[32];\n+\tuint32_t eccpos[128];\n };\n \n struct nand_oobfree {\n@@ -119,7 +119,7 @@ struct nand_oobfree {\n */\n struct nand_ecclayout {\n \tuint32_t eccbytes;\n-\tuint32_t eccpos[64];\n+\tuint32_t eccpos[128];\n \tuint32_t oobavail;\n \tstruct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES];\n };\n--- a/flashcp.c\t2008-06-27 21:51:28.000000000 +0530\n+++ b/flashcp.c\t2008-07-02 14:49:21.000000000 +0530\n@@ -61,7 +62,7 @@ typedef int bool;\n #define PERCENTAGE(x,total) (((x) * 100) / (total))\n \n /* size of read/write buffer */\n-#define BUFSIZE (10 * 1024)\n+#define BUFSIZE (10 * 4096)\n \n /* cmd-line flags */\n #define FLAG_NONE\t\t0x00\n", "prefixes": [ "MTD-UTILS" ] }