[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1580783163-5601-1-git-send-email-ytc-mb-yfuruyama7@kioxia.com>
Date: Tue, 4 Feb 2020 11:26:03 +0900
From: Yoshio Furuyama <ytc-mb-yfuruyama7@...xia.com>
To: miquel.raynal@...tlin.com, vigneshr@...com
Cc: linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org
Subject: [PATCH] mtd: nand: Add comment about Kioxia ID
Add a comment above NAND_MFR_TOSHIBA and SPINAND_MFR_TOSHIBA definitions
that Toshiba and Kioxia ID are the same.
Signed-off-by: Yoshio Furuyama <ytc-mb-yfuruyama7@...xia.com>
---
drivers/mtd/nand/raw/internals.h | 1 +
drivers/mtd/nand/spi/toshiba.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/mtd/nand/raw/internals.h b/drivers/mtd/nand/raw/internals.h
index cba6fe7..2918376b 100644
--- a/drivers/mtd/nand/raw/internals.h
+++ b/drivers/mtd/nand/raw/internals.h
@@ -30,6 +30,7 @@
#define NAND_MFR_SAMSUNG 0xec
#define NAND_MFR_SANDISK 0x45
#define NAND_MFR_STMICRO 0x20
+/* Toshiba and Kioxia ID are the same. */
#define NAND_MFR_TOSHIBA 0x98
#define NAND_MFR_WINBOND 0xef
diff --git a/drivers/mtd/nand/spi/toshiba.c b/drivers/mtd/nand/spi/toshiba.c
index 0db5ee4..a92ecc8 100644
--- a/drivers/mtd/nand/spi/toshiba.c
+++ b/drivers/mtd/nand/spi/toshiba.c
@@ -10,6 +10,7 @@
#include <linux/kernel.h>
#include <linux/mtd/spinand.h>
+/* Toshiba and Kioxia ID are the same. */
#define SPINAND_MFR_TOSHIBA 0x98
#define TOSH_STATUS_ECC_HAS_BITFLIPS_T (3 << 4)
--
1.9.1
Powered by blists - more mailing lists