* [PATCH 2/4] mtd: nand: Move ONFI code into nand/ directory
@ 2019-03-26 10:51 Shivamurthy Shastri (sshivamurthy)
2019-04-30 6:33 ` Miquel Raynal
0 siblings, 1 reply; 2+ messages in thread
From: Shivamurthy Shastri (sshivamurthy) @ 2019-03-26 10:51 UTC (permalink / raw)
To: Boris Brezillon, Miquel Raynal, linux-mtd@lists.infradead.org,
linux-kernel@vger.kernel.org
Cc: Christophe Kerello, Jianxin Pan, Marcel Ziswiler,
Richard Weinberger, Stefan Agner, Marek Vasut, Liang Yang,
Frieder Schrempf, Dmitry Osipenko, Brian Norris, David Woodhouse,
Bean Huo (beanhuo)
Move generic ONFI code to nand/ directory, which can be used by SPI
NAND layer.
Signed-off-by: Shivamurthy Shastri <sshivamurthy@micron.com>
---
drivers/mtd/nand/Makefile | 2 +-
drivers/mtd/nand/{raw/nand_onfi.c => onfi.c} | 0
drivers/mtd/nand/raw/Makefile | 1 -
3 files changed, 1 insertion(+), 2 deletions(-)
rename drivers/mtd/nand/{raw/nand_onfi.c => onfi.c} (100%)
diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile
index 9772e781534d..1b43a911aa4a 100644
--- a/drivers/mtd/nand/Makefile
+++ b/drivers/mtd/nand/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-nandcore-objs := core.o bbt.o
+nandcore-objs := core.o bbt.o onfi.o
obj-$(CONFIG_MTD_NAND_CORE) += nandcore.o
obj-y += onenand/
diff --git a/drivers/mtd/nand/raw/nand_onfi.c b/drivers/mtd/nand/onfi.c
similarity index 100%
rename from drivers/mtd/nand/raw/nand_onfi.c
rename to drivers/mtd/nand/onfi.c
diff --git a/drivers/mtd/nand/raw/Makefile b/drivers/mtd/nand/raw/Makefile
index 898e90508a3a..3467bbb4a51a 100644
--- a/drivers/mtd/nand/raw/Makefile
+++ b/drivers/mtd/nand/raw/Makefile
@@ -59,7 +59,6 @@ obj-$(CONFIG_MTD_NAND_STM32_FMC2) += stm32_fmc2_nand.o
obj-$(CONFIG_MTD_NAND_MESON) += meson_nand.o
nand-objs := nand_base.o nand_legacy.o nand_bbt.o nand_timings.o nand_ids.o
-nand-objs += nand_onfi.o
nand-objs += nand_jedec.o
nand-objs += nand_amd.o
nand-objs += nand_esmt.o
--
2.17.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 2/4] mtd: nand: Move ONFI code into nand/ directory
2019-03-26 10:51 [PATCH 2/4] mtd: nand: Move ONFI code into nand/ directory Shivamurthy Shastri (sshivamurthy)
@ 2019-04-30 6:33 ` Miquel Raynal
0 siblings, 0 replies; 2+ messages in thread
From: Miquel Raynal @ 2019-04-30 6:33 UTC (permalink / raw)
To: Shivamurthy Shastri (sshivamurthy)
Cc: Christophe Kerello, Jianxin Pan, Boris Brezillon, Marcel Ziswiler,
Richard Weinberger, linux-kernel@vger.kernel.org, Stefan Agner,
Marek Vasut, Liang Yang, linux-mtd@lists.infradead.org,
Frieder Schrempf, Dmitry Osipenko, Brian Norris, David Woodhouse,
Bean Huo (beanhuo)
Hi Shivamurthy,
"Shivamurthy Shastri (sshivamurthy)" <sshivamurthy@micron.com> wrote on
Tue, 26 Mar 2019 10:51:56 +0000:
> Move generic ONFI code to nand/ directory, which can be used by SPI
> NAND layer.
>
> Signed-off-by: Shivamurthy Shastri <sshivamurthy@micron.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Thanks,
Miquèl
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-30 6:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-26 10:51 [PATCH 2/4] mtd: nand: Move ONFI code into nand/ directory Shivamurthy Shastri (sshivamurthy)
2019-04-30 6:33 ` Miquel Raynal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).