Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2217013/?format=api
{ "id": 2217013, "url": "http://patchwork.ozlabs.org/api/patches/2217013/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260327140508.3680105-6-richard.genoud@bootlin.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260327140508.3680105-6-richard.genoud@bootlin.com>", "list_archive_url": null, "date": "2026-03-27T14:05:08", "name": "[v2,5/5] mtd: nand: raw: sunxi_spl: remove user data length reset", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "243c64019a1374c981bca970100053c56ad8e9cc", "submitter": { "id": 88519, "url": "http://patchwork.ozlabs.org/api/people/88519/?format=api", "name": "Richard Genoud", "email": "richard.genoud@bootlin.com" }, "delegate": { "id": 114289, "url": "http://patchwork.ozlabs.org/api/users/114289/?format=api", "username": "apritzel", "first_name": "Andre", "last_name": "Przywara", "email": "andre.przywara@arm.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260327140508.3680105-6-richard.genoud@bootlin.com/mbox/", "series": [ { "id": 497775, "url": "http://patchwork.ozlabs.org/api/series/497775/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=497775", "date": "2026-03-27T14:05:03", "name": "mtd: rawnand: sunxi: Fix user data length for H6", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/497775/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2217013/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2217013/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256\n header.s=dkim header.b=lfp8e1P1;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=bootlin.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=bootlin.com header.i=@bootlin.com header.b=\"lfp8e1P1\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=bootlin.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=richard.genoud@bootlin.com" ], "Received": [ "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fj2W92q41z1y1P\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 28 Mar 2026 01:06:29 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id CF90884035;\n\tFri, 27 Mar 2026 15:05:43 +0100 (CET)", "by phobos.denx.de (Postfix, from userid 109)\n id CCE3E8394E; Fri, 27 Mar 2026 15:05:41 +0100 (CET)", "from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 9798F83FED\n for <u-boot@lists.denx.de>; Fri, 27 Mar 2026 15:05:39 +0100 (CET)", "from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233])\n by smtpout-04.galae.net (Postfix) with ESMTPS id 0EE6BC58747\n for <u-boot@lists.denx.de>; Fri, 27 Mar 2026 14:06:08 +0000 (UTC)", "from mail.galae.net (mail.galae.net [212.83.136.155])\n by smtpout-01.galae.net (Postfix) with ESMTPS id 5829760230;\n Fri, 27 Mar 2026 14:05:39 +0000 (UTC)", "from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id B777A1045128C; Fri, 27 Mar 2026 15:05:37 +0100 (CET)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,\n SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim;\n t=1774620338; h=from:subject:date:message-id:to:cc:mime-version:\n content-transfer-encoding:in-reply-to:references;\n bh=guPrKvXhCmkZhvReUYhX/8T8bVwozUKppZz/gXuKetk=;\n b=lfp8e1P1bT1X/5mom3BBG6Sasm9QAq4Pfr8i1YSrV7wjjcY2V9qeYog+pYOZ/UvMVyoXJo\n m9DAg7gwnLeoD/XYqbqMg4OUhGwjpw0fdJ1HVHr7o84tXWKvmtG3Ktp22qbpx664Env0to\n 9808/4rgUzJbOrbN/2ABYJVHzrfdphjFIsNZ5X9j+KS14qU5T3Dt9iA1q7GroHXH5vcRiC\n DfzdpaDlFuYfNjyLwMnXhSaprhHGzBQeTzgcnSbXinf/Lza7CKYmfHgji4ZwtycRewu44A\n wAux/GruBmisVhAw/sikxDtyVIDbGUFON0+Hyne9qa35cvPVYgQXNwaPMPt9Yg==", "From": "Richard Genoud <richard.genoud@bootlin.com>", "To": "Dario Binacchi <dario.binacchi@amarulasolutions.com>,\n Michael Trimarchi <michael@amarulasolutions.com>,\n Tom Rini <trini@konsulko.com>, Andre Przywara <andre.przywara@arm.com>", "Cc": "Andrew Goodbody <andrew.goodbody@linaro.org>,\n Miquel Raynal <miquel.raynal@bootlin.com>,\n James Hilliard <james.hilliard1@gmail.com>,\n Boris Brezillon <bbrezillon@kernel.org>,\n Thomas Petazzoni <thomas.petazzoni@bootlin.com>, u-boot@lists.denx.de,\n Richard Genoud <richard.genoud@bootlin.com>", "Subject": "[PATCH v2 5/5] mtd: nand: raw: sunxi_spl: remove user data length\n reset", "Date": "Fri, 27 Mar 2026 15:05:08 +0100", "Message-ID": "<20260327140508.3680105-6-richard.genoud@bootlin.com>", "X-Mailer": "git-send-email 2.47.3", "In-Reply-To": "<20260327140508.3680105-1-richard.genoud@bootlin.com>", "References": "<20260327140508.3680105-1-richard.genoud@bootlin.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Last-TLS-Session-Version": "TLSv1.3", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.39", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>", "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "No need to reset user data length registers in SPL.\n\nIn SPL, only the first user data length register is used, so we don't\nneed to reset all of them.\n\nSigned-off-by: Richard Genoud <richard.genoud@bootlin.com>\n---\n drivers/mtd/nand/raw/sunxi_nand_spl.c | 17 -----------------\n 1 file changed, 17 deletions(-)", "diff": "diff --git a/drivers/mtd/nand/raw/sunxi_nand_spl.c b/drivers/mtd/nand/raw/sunxi_nand_spl.c\nindex 784ffb00cf70..cf351de4e8de 100644\n--- a/drivers/mtd/nand/raw/sunxi_nand_spl.c\n+++ b/drivers/mtd/nand/raw/sunxi_nand_spl.c\n@@ -224,22 +224,6 @@ static int nand_change_column(u16 column)\n \treturn 0;\n }\n \n-/*\n- * On H6/H616 the user_data length has to be set in specific registers\n- * before writing.\n- */\n-static void sunxi_nfc_reset_user_data_len(const struct nfc_config *nfc)\n-{\n-\tint loop_step = NFC_REG_USER_DATA_LEN_CAPACITY;\n-\n-\t/* not all SoCs have this register */\n-\tif (!NFC_REG_USER_DATA_LEN(nfc, 0))\n-\t\treturn;\n-\n-\tfor (int i = 0; i < nfc->caps->max_ecc_steps; i += loop_step)\n-\t\twritel_nfc(0, NFC_REG_USER_DATA_LEN(nfc, i));\n-}\n-\n static void sunxi_nfc_set_user_data_len(const struct nfc_config *nfc,\n \t\t\t\t\tint len, int step)\n {\n@@ -355,7 +339,6 @@ static int nand_read_page(const struct nfc_config *conf, u32 offs,\n \t\t */\n \t\tnand_change_column(oob_off);\n \n-\t\tsunxi_nfc_reset_user_data_len(conf);\n \t\tsunxi_nfc_set_user_data_len(conf, user_data_sz, nfc_step);\n \n \t\tnand_exec_cmd(NFC_DATA_TRANS | NFC_ECC_OP);\n", "prefixes": [ "v2", "5/5" ] }