Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2226064/?format=api
{ "id": 2226064, "url": "http://patchwork.ozlabs.org/api/patches/2226064/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260422070203.698716-4-linchengming884@gmail.com/", "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": "<20260422070203.698716-4-linchengming884@gmail.com>", "list_archive_url": null, "date": "2026-04-22T07:02:03", "name": "[v9,3/3] mtd: spi-nand: macronix: Enable randomizer support", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "6b0fd90b99eb99c0a3e09a1d8310daf2f57617a8", "submitter": { "id": 88631, "url": "http://patchwork.ozlabs.org/api/people/88631/?format=api", "name": "Cheng Ming Lin", "email": "linchengming884@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/20260422070203.698716-4-linchengming884@gmail.com/mbox/", "series": [ { "id": 500931, "url": "http://patchwork.ozlabs.org/api/series/500931/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/list/?series=500931", "date": "2026-04-22T07:02:00", "name": "mtd: spi-nand: Add support for randomizer feature", "version": 9, "mbox": "http://patchwork.ozlabs.org/series/500931/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2226064/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2226064/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>", "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 secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=AUoK+lOy;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=lK1A56Rz;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;\n envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g0qvR6JbNz1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 17:03:47 +1000 (AEST)", "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wFRcX-00000009hDQ-1Lat;\n\tWed, 22 Apr 2026 07:03:37 +0000", "from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wFRcU-00000009hCM-2IEQ\n\tfor linux-mtd@lists.infradead.org;\n\tWed, 22 Apr 2026 07:03:35 +0000", "by mail-pl1-x62d.google.com with SMTP id\n d9443c01a7336-2b788a98557so11195985ad.2\n for <linux-mtd@lists.infradead.org>;\n Wed, 22 Apr 2026 00:03:34 -0700 (PDT)", "from twhmp6px (mxsmtp211.mxic.com.tw. [211.75.127.162])\n by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2b5fab32cfasm197713355ad.69.2026.04.22.00.03.30\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 22 Apr 2026 00:03:30 -0700 (PDT)", "from hqs-appsw-a2o.mp600.macronix.com (unknown [172.17.236.67])\n\tby twhmp6px (Postfix) with ESMTPS id 30146416A046;\n\tWed, 22 Apr 2026 15:03:28 +0800 (CST)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:\n\tMessage-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=6ueXm8QMnW5GAlUb+k/4P5+CmpVTBO0jjkjlIJbtdT4=; b=AUoK+lOyVhJVLM\n\t2P7rUyzYt/HqBLid9KLD7CGITQ/dFYSrkONwDp2PEBFzbkEjNZODVeA2frilHk1qpN6wuIOzG9zCZ\n\tlOAmAR26Sy8rIgG3P1fznO3f7LmJR5aa19mxWM74b1yJZKO+1/E2Y6uqtNGcYdISCRIw07VPoekP3\n\t6LMSVBiA9kQcLA4JEKYgj7TgqzPaPwCWd/56qU9naDlD7ArwnnIKJB0BoSFw9JSOtRrD8clsNlrR4\n\thu/l+nf6TrZluRcYxjJxdXn/jJBPrzxisJcAj109L6rZsns+Xq4rTn/81QSchNre3ni6oHG+aMrTl\n\thq3s59v57eDX6ouZTKUg==;", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776841414; x=1777446214;\n darn=lists.infradead.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=csjPh52S+pcBTGEpydk3ocZJOCMxJr2uaOVx7ol9BXo=;\n b=lK1A56Rzjuhe+LIJdPnWSFCU/qXRmI31n69vO+pqu3L/NRnoX/5MguFA1kSWrq2FnM\n bs1TYqudD7GGLVgk/DCO93g6Yxxsah5tsqMyLSHBvHmmh0JAxkZ4DSAO+E4p/LXTGIAV\n 7bcGfzcfy+n9m2CWVoOKPKnO2raykXi4y2ZdVq/7vqpESarIoZdr4zt8C+2mxp2g9P2b\n BgX1ebyZvcDQLz8L1pAzgASzD962bZ/ENAJa3wFCm0nHifBYh7trP94NKmJKJsC16336\n phOjxdQd2e3m+UXXXzZx90msFcnA4/sGdQJza1jiW53pAgHlboaplYIhZmKyVMXuNLQy\n PpHA==" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776841414; x=1777446214;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=csjPh52S+pcBTGEpydk3ocZJOCMxJr2uaOVx7ol9BXo=;\n b=H4hUmyuelq/qfYKFWBloiAcPq57DhlrHPhbsTLRYX1VJANvzf/IQui8QV7NvXS9bGo\n 8YK3kTahxdfcN1CawQMG+ZRqnoj549Sweq1maTKGn8sJBeMHH+UADbdHuV3uzhzGvK2C\n 1Z78oV1InqLxhMBYNyMoE8PXxlDao3DUJ1xcQs+zP56y0ODrQGBM53dYEpxp+9012gJe\n gmzlW0MXQ8+UfBeD/VxOiGCOMRM4djUI1pG37RlhxR5OTmDWSSkCUkipL4mkB4cSbeeR\n 4EOObIsU7ZnhZtBO+Pm55R31if2ATUotXC8rjnlpR10d4PcC3M5C1PkFvTiS0P/Ek97b\n A4cg==", "X-Gm-Message-State": "AOJu0YwRypBfGjWzQcXPoUyWzpK2EpWnX8tqfEkBtt0PQJ7GSSlgk08w\n\t66YIR7aZUDZwe0VBzXiWGP7zrwj+fY5MX3YwYciIlbRhb27lpDJIVZIW", "X-Gm-Gg": "AeBDieuyLCzxbv/5bUr1oo/LOQ9l1NpcjZYntTf0bSEhraB/x/UaqQj1S/YlmTfeB7s\n\te+ejcOm0l0CTYyLh0eqqct6aWmhUMmb+g+FpwKUfcOnrTZbXejUWzK12jfhTebEhfVsAoiLVBym\n\tY9lYKGIr20pr9Q+RSWGHVoYH0TFhx0rSkW6XQ1qpujDcWXayFXA++RTIHA2z52MWPvD+gvxf8gv\n\tONbn4Q0VjQnvdA1QS7Wpfnp44xUBST3i2RVET9PqwMt1ycWnSv4aLdsEB5hokUoL7xUlDcc22on\n\tpsuBWPDsBONMYxvMG5UuKx/Rpdp2yzz2sgY6RHLgvYGYQk3TnfBPsdVhouyOCG1OzD0gIyAUjyr\n\tWL6LTUMqBaawbezm/v/FtGRaC7JfUFMXa1XAnG3YE8BzXT8IXC4C37M4axjsVquhHZfphXNgQCU\n\tqLLT+cnCe3N2Gvdg1Yh6+CN9pOIwiMaEYbGWNSc46q2A+hjYXvGNpvFrGO", "X-Received": "by 2002:a17:903:46c8:b0:2b4:5f83:a9d6 with SMTP id\n d9443c01a7336-2b5f9fbba9cmr234292045ad.34.1776841413286;\n Wed, 22 Apr 2026 00:03:33 -0700 (PDT)", "From": "Cheng Ming Lin <linchengming884@gmail.com>", "To": "miquel.raynal@bootlin.com,\n\trichard@nod.at,\n\tvigneshr@ti.com,\n\trobh@kernel.org,\n\tkrzk+dt@kernel.org,\n\tconor+dt@kernel.org", "Cc": "linux-mtd@lists.infradead.org,\n\tdevicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\talvinzhou@mxic.com.tw,\n\tCheng Ming Lin <chengminglin@mxic.com.tw>", "Subject": "[PATCH v9 3/3] mtd: spi-nand: macronix: Enable randomizer support", "Date": "Wed, 22 Apr 2026 15:02:03 +0800", "Message-Id": "<20260422070203.698716-4-linchengming884@gmail.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20260422070203.698716-1-linchengming884@gmail.com>", "References": "<20260422070203.698716-1-linchengming884@gmail.com>", "MIME-Version": "1.0", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20260422_000334_592421_340338BE ", "X-CRM114-Status": "GOOD ( 12.02 )", "X-Spam-Score": "-1.8 (-)", "X-Spam-Report": "Spam detection software,\n running on the system \"bombadil.infradead.org\",\n has NOT identified this incoming email as spam. The original\n message has been attached to this so you can view it or label\n similar future email. If you have any questions, see\n the administrator of that system for details.\n Content preview: From: Cheng Ming Lin Implement the 'set_randomizer'\n callback\n for Macronix SPI NAND chips. The randomizer is enabled by setting bit 1 of\n the Configuration Register (address 0x10). This patch adds support for the\n following chips: - MX35LFxG24AD series - MX35UFxG24AD series\n Content analysis details: (-1.8 points, 5.0 required)\n pts rule name description\n ---- ----------------------\n --------------------------------------------------\n -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no\n trust\n [2607:f8b0:4864:20:0:0:0:62d listed in]\n [list.dnswl.org]\n -0.0 SPF_PASS SPF: sender matches SPF record\n 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record\n -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from\n envelope-from domain\n -0.1 DKIM_VALID Message has at least one valid DKIM or DK\n signature\n -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n author's\n domain\n 0.1 DKIM_SIGNED Message has a DKIM or DK signature,\n not necessarily valid\n -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%\n [score: 0.0000]\n 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n provider\n [linchengming884(at)gmail.com]\n 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in\n digit\n [linchengming884(at)gmail.com]", "X-BeenThere": "linux-mtd@lists.infradead.org", "X-Mailman-Version": "2.1.34", "Precedence": "list", "List-Id": "Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-mtd>,\n <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 <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>", "Errors-To": "linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org" }, "content": "From: Cheng Ming Lin <chengminglin@mxic.com.tw>\n\nImplement the 'set_randomizer' callback for Macronix SPI NAND chips.\nThe randomizer is enabled by setting bit 1 of the Configuration Register\n(address 0x10).\n\nThis patch adds support for the following chips:\n - MX35LFxG24AD series\n - MX35UFxG24AD series\n\nWhen the randomizer is enabled, data is scrambled internally during\nprogram operations and automatically descrambled during read operations.\nThis helps reduce bit errors caused by program disturbance.\n\nPlease refer to the following link for randomizer feature:\nLink: https://www.mxic.com.tw/Lists/ApplicationNote/Attachments/2151/AN1051V1-The%20Introduction%20of%20Randomizer%20Feature%20on%20MX30xFxG28AD_MX35xFxG24AD.pdf\n\nSigned-off-by: Cheng Ming Lin <chengminglin@mxic.com.tw>\n---\n drivers/mtd/nand/spi/macronix.c | 38 ++++++++++++++++++++++++---------\n 1 file changed, 28 insertions(+), 10 deletions(-)", "diff": "diff --git a/drivers/mtd/nand/spi/macronix.c b/drivers/mtd/nand/spi/macronix.c\nindex 67cafa1bb..7dfcc34e9 100644\n--- a/drivers/mtd/nand/spi/macronix.c\n+++ b/drivers/mtd/nand/spi/macronix.c\n@@ -14,6 +14,8 @@\n #define MACRONIX_ECCSR_BF_LAST_PAGE(eccsr) FIELD_GET(GENMASK(3, 0), eccsr)\n #define MACRONIX_ECCSR_BF_ACCUMULATED_PAGES(eccsr) FIELD_GET(GENMASK(7, 4), eccsr)\n #define MACRONIX_CFG_CONT_READ BIT(2)\n+#define MACRONIX_CFG_RANDOMIZER_EN BIT(1)\n+#define MACRONIX_FEATURE_ADDR_RANDOMIZER 0x10\n #define MACRONIX_FEATURE_ADDR_READ_RETRY 0x70\n #define MACRONIX_NUM_READ_RETRY_MODES 5\n \n@@ -170,6 +172,12 @@ static int macronix_set_read_retry(struct spinand_device *spinand,\n \treturn spi_mem_exec_op(spinand->spimem, &op);\n }\n \n+static int macronix_set_randomizer(struct spinand_device *spinand, bool enable)\n+{\n+\treturn spinand_write_reg_op(spinand, MACRONIX_FEATURE_ADDR_RANDOMIZER,\n+\t\t\t\t enable ? MACRONIX_CFG_RANDOMIZER_EN : 0);\n+}\n+\n static const struct spinand_info macronix_spinand_table[] = {\n \tSPINAND_INFO(\"MX35LF1GE4AB\",\n \t\t SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x12),\n@@ -231,7 +239,8 @@ static const struct spinand_info macronix_spinand_table[] = {\n \t\t SPINAND_HAS_QE_BIT,\n \t\t SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout, NULL),\n \t\t SPINAND_READ_RETRY(MACRONIX_NUM_READ_RETRY_MODES,\n-\t\t\t\t\tmacronix_set_read_retry)),\n+\t\t\t\t\tmacronix_set_read_retry),\n+\t\t SPINAND_RANDOMIZER(macronix_set_randomizer)),\n \tSPINAND_INFO(\"MX35LF2G24AD\",\n \t\t SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x24, 0x03),\n \t\t NAND_MEMORG(1, 2048, 128, 64, 2048, 40, 2, 1, 1),\n@@ -243,7 +252,8 @@ static const struct spinand_info macronix_spinand_table[] = {\n \t\t SPINAND_HAS_PROG_PLANE_SELECT_BIT,\n \t\t SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout, NULL),\n \t\t SPINAND_READ_RETRY(MACRONIX_NUM_READ_RETRY_MODES,\n-\t\t\t\t\tmacronix_set_read_retry)),\n+\t\t\t\t\tmacronix_set_read_retry),\n+\t\t SPINAND_RANDOMIZER(macronix_set_randomizer)),\n \tSPINAND_INFO(\"MX35LF2G24AD-Z4I8\",\n \t\t SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x64, 0x03),\n \t\t NAND_MEMORG(1, 2048, 128, 64, 2048, 40, 1, 1, 1),\n@@ -254,7 +264,8 @@ static const struct spinand_info macronix_spinand_table[] = {\n \t\t SPINAND_HAS_QE_BIT,\n \t\t SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout, NULL),\n \t\t SPINAND_READ_RETRY(MACRONIX_NUM_READ_RETRY_MODES,\n-\t\t\t\t\tmacronix_set_read_retry)),\n+\t\t\t\t\tmacronix_set_read_retry),\n+\t\t SPINAND_RANDOMIZER(macronix_set_randomizer)),\n \tSPINAND_INFO(\"MX35LF4G24AD\",\n \t\t SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x35, 0x03),\n \t\t NAND_MEMORG(1, 4096, 256, 64, 2048, 40, 2, 1, 1),\n@@ -266,7 +277,8 @@ static const struct spinand_info macronix_spinand_table[] = {\n \t\t SPINAND_HAS_PROG_PLANE_SELECT_BIT,\n \t\t SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout, NULL),\n \t\t SPINAND_READ_RETRY(MACRONIX_NUM_READ_RETRY_MODES,\n-\t\t\t\t\tmacronix_set_read_retry)),\n+\t\t\t\t\tmacronix_set_read_retry),\n+\t\t SPINAND_RANDOMIZER(macronix_set_randomizer)),\n \tSPINAND_INFO(\"MX35LF4G24AD-Z4I8\",\n \t\t SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x75, 0x03),\n \t\t NAND_MEMORG(1, 4096, 256, 64, 2048, 40, 1, 1, 1),\n@@ -277,7 +289,8 @@ static const struct spinand_info macronix_spinand_table[] = {\n \t\t SPINAND_HAS_QE_BIT,\n \t\t SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout, NULL),\n \t\t SPINAND_READ_RETRY(MACRONIX_NUM_READ_RETRY_MODES,\n-\t\t\t\t\tmacronix_set_read_retry)),\n+\t\t\t\t\tmacronix_set_read_retry),\n+\t\t SPINAND_RANDOMIZER(macronix_set_randomizer)),\n \tSPINAND_INFO(\"MX31LF1GE4BC\",\n \t\t SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x1e),\n \t\t NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 1, 1),\n@@ -327,7 +340,8 @@ static const struct spinand_info macronix_spinand_table[] = {\n \t\t SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,\n \t\t\t\t macronix_ecc_get_status),\n \t\t SPINAND_READ_RETRY(MACRONIX_NUM_READ_RETRY_MODES,\n-\t\t\t\t\tmacronix_set_read_retry)),\n+\t\t\t\t\tmacronix_set_read_retry),\n+\t\t SPINAND_RANDOMIZER(macronix_set_randomizer)),\n \tSPINAND_INFO(\"MX35UF4G24AD-Z4I8\",\n \t\t SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0xf5, 0x03),\n \t\t NAND_MEMORG(1, 4096, 256, 64, 2048, 40, 1, 1, 1),\n@@ -340,7 +354,8 @@ static const struct spinand_info macronix_spinand_table[] = {\n \t\t SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,\n \t\t\t\t macronix_ecc_get_status),\n \t\t SPINAND_READ_RETRY(MACRONIX_NUM_READ_RETRY_MODES,\n-\t\t\t\t\tmacronix_set_read_retry)),\n+\t\t\t\t\tmacronix_set_read_retry),\n+\t\t SPINAND_RANDOMIZER(macronix_set_randomizer)),\n \tSPINAND_INFO(\"MX35UF4GE4AD\",\n \t\t SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0xb7, 0x03),\n \t\t NAND_MEMORG(1, 4096, 256, 64, 2048, 40, 1, 1, 1),\n@@ -381,7 +396,8 @@ static const struct spinand_info macronix_spinand_table[] = {\n \t\t SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,\n \t\t\t\t macronix_ecc_get_status),\n \t\t SPINAND_READ_RETRY(MACRONIX_NUM_READ_RETRY_MODES,\n-\t\t\t\t\tmacronix_set_read_retry)),\n+\t\t\t\t\tmacronix_set_read_retry),\n+\t\t SPINAND_RANDOMIZER(macronix_set_randomizer)),\n \tSPINAND_INFO(\"MX35UF2G24AD-Z4I8\",\n \t\t SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0xe4, 0x03),\n \t\t NAND_MEMORG(1, 2048, 128, 64, 2048, 40, 1, 1, 1),\n@@ -394,7 +410,8 @@ static const struct spinand_info macronix_spinand_table[] = {\n \t\t SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,\n \t\t\t\t macronix_ecc_get_status),\n \t\t SPINAND_READ_RETRY(MACRONIX_NUM_READ_RETRY_MODES,\n-\t\t\t\t\tmacronix_set_read_retry)),\n+\t\t\t\t\tmacronix_set_read_retry),\n+\t\t SPINAND_RANDOMIZER(macronix_set_randomizer)),\n \tSPINAND_INFO(\"MX35UF2GE4AD\",\n \t\t SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0xa6, 0x03),\n \t\t NAND_MEMORG(1, 2048, 128, 64, 2048, 40, 1, 1, 1),\n@@ -444,7 +461,8 @@ static const struct spinand_info macronix_spinand_table[] = {\n \t\t SPINAND_ECCINFO(&mx35lfxge4ab_ooblayout,\n \t\t\t\t macronix_ecc_get_status),\n \t\t SPINAND_READ_RETRY(MACRONIX_NUM_READ_RETRY_MODES,\n-\t\t\t\t\tmacronix_set_read_retry)),\n+\t\t\t\t\tmacronix_set_read_retry),\n+\t\t SPINAND_RANDOMIZER(macronix_set_randomizer)),\n \tSPINAND_INFO(\"MX35UF1GE4AD\",\n \t\t SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x96, 0x03),\n \t\t NAND_MEMORG(1, 2048, 128, 64, 1024, 20, 1, 1, 1),\n", "prefixes": [ "v9", "3/3" ] }