lkml.org 
[lkml]   [2023]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] SPI-NOR: Add support for Micron mt35x01g
Date
From: Wadim Mueller <wafgo01@gmail.com>

Currently only the mt35xu512aba and mt35xu02g are supported,
support for the 1G version is missing. This patch adds
the corresponding entry in the micron_parts structure.

Verification and tests were done on a custom NXP S32G2 board with the
mt35xu01g qspi nor populated

Signed-off-by: Wadim Mueller <wafgo01@gmail.com>
---
drivers/mtd/spi-nor/micron-st.c | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/drivers/mtd/spi-nor/micron-st.c b/drivers/mtd/spi-nor/micron-st.c
index 4b919756a205..fe97583547fe 100644
--- a/drivers/mtd/spi-nor/micron-st.c
+++ b/drivers/mtd/spi-nor/micron-st.c
@@ -166,6 +166,11 @@ static const struct flash_info micron_nor_parts[] = {
MFR_FLAGS(USE_FSR)
.fixups = &mt35xu512aba_fixups
},
+ { "mt35xu01g", INFO(0x2c5b1b, 0, 128 * 1024, 1024)
+ NO_SFDP_FLAGS(SECT_4K | SPI_NOR_OCTAL_READ)
+ FIXUP_FLAGS(SPI_NOR_4B_OPCODES)
+ MFR_FLAGS(USE_FSR)
+ },
{ "mt35xu02g", INFO(0x2c5b1c, 0, 128 * 1024, 2048)
NO_SFDP_FLAGS(SECT_4K | SPI_NOR_OCTAL_READ)
FIXUP_FLAGS(SPI_NOR_4B_OPCODES)
--
2.25.1
\
 
 \ /
  Last update: 2023-07-28 17:09    [W:0.108 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site