From: Michael Walle <mwalle@kernel.org>
To: Cheng Ming Lin <linchengming884@gmail.com>
Cc: tudor.ambarus@linaro.org, pratyush@kernel.org,
miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com,
linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
alvinzhou@mxic.com.tw, leoyu@mxic.com.tw,
Cheng Ming Lin <chengminglin@mxic.com.tw>
Subject: Re: [PATCH 2/2] mtd: spi-nor: macronix: Add support for Macronix NOR Flash
Date: Fri, 07 Feb 2025 09:39:34 +0100 [thread overview]
Message-ID: <811f5b9d7b2842a3e1293ac6a0bb3b70@kernel.org> (raw)
In-Reply-To: <20250207081846.362919-3-linchengming884@gmail.com>
Hi Cheng,
> From: Cheng Ming Lin <chengminglin@mxic.com.tw>
>
> Due to incorrect values in the 4-BAIT table for these two flash IDs,
> it is necessary to add these two flash IDs with fixups.
What's the part number of these flashes?
> --- a/drivers/mtd/spi-nor/macronix.c
> +++ b/drivers/mtd/spi-nor/macronix.c
> @@ -127,6 +127,9 @@ static const struct flash_info macronix_nor_parts[]
> = {
> .size = SZ_128M,
> .no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
> .fixups = ¯onix_qpp4b_fixups,
> + }, {
Although we don't have .name anymore, a comment like
/* <partname> */
is recommended.
> + .id = SNOR_ID(0xc2, 0x20, 0x1c),
> + .fixups = ¯onix_qpp4b_fixups,
> }, {
> .id = SNOR_ID(0xc2, 0x23, 0x14),
> .name = "mx25v8035f",
> @@ -182,6 +185,9 @@ static const struct flash_info macronix_nor_parts[]
> = {
> .no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
> .fixup_flags = SPI_NOR_4B_OPCODES,
> .fixups = ¯onix_qpp4b_fixups,
> + }, {
same same
> + .id = SNOR_ID(0xc2, 0x25, 0x3b),
> + .fixups = ¯onix_qpp4b_fixups,
> }, {
> .id = SNOR_ID(0xc2, 0x25, 0x3c),
> .name = "mx66u2g45g",
Thanks,
-michael
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2025-02-07 8:52 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-07 8:18 [PATCH 0/2] Add support for Quad Input Page Program Cheng Ming Lin
2025-02-07 8:18 ` [PATCH 1/2] mtd: spi-nor: macronix: Add post_sfdp fixups " Cheng Ming Lin
2025-02-07 8:36 ` Michael Walle
2025-02-10 3:16 ` Cheng Ming Lin
2025-02-07 8:37 ` Tudor Ambarus
2025-02-07 15:01 ` Pratyush Yadav
2025-02-10 3:27 ` Cheng Ming Lin
2025-02-10 7:48 ` Tudor Ambarus
2025-02-10 7:49 ` Cheng Ming Lin
2025-02-07 8:18 ` [PATCH 2/2] mtd: spi-nor: macronix: Add support for Macronix NOR Flash Cheng Ming Lin
2025-02-07 8:39 ` Michael Walle [this message]
2025-02-07 11:32 ` Pratyush Yadav
2025-02-10 6:15 ` Cheng Ming Lin
2025-02-07 8:43 ` Tudor Ambarus
2025-02-07 9:23 ` Michael Walle
2025-02-07 9:53 ` Tudor Ambarus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=811f5b9d7b2842a3e1293ac6a0bb3b70@kernel.org \
--to=mwalle@kernel.org \
--cc=alvinzhou@mxic.com.tw \
--cc=chengminglin@mxic.com.tw \
--cc=leoyu@mxic.com.tw \
--cc=linchengming884@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=miquel.raynal@bootlin.com \
--cc=pratyush@kernel.org \
--cc=richard@nod.at \
--cc=tudor.ambarus@linaro.org \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox