From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Cc: Tom Rini <trini@konsulko.com>,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Michael Trimarchi <michael@amarulasolutions.com>,
Frieder Schrempf <frieder.schrempf@kontron.de>,
Jagan Teki <jagan@amarulasolutions.com>,
Simon Glass <sjg@chromium.org>,
William Zhang <william.zhang@broadcom.com>,
Igor Prusov <ivprusov@salutedevices.com>,
Bruce Suen <bruce_suen@163.com>,
Dmitry Rokosov <ddrokosov@sberdevices.ru>,
Martin Kurbanov <mmkurbanov@sberdevices.ru>,
Chuanhong Guo <gch981213@gmail.com>,
Francesco Dolcini <francesco.dolcini@toradex.com>,
Max Krummenacher <max.krummenacher@toradex.com>,
u-boot@lists.denx.de
Subject: Re: [PATCH 4/7] mtd: spinand: preparation for ecc engine adding
Date: Mon, 1 Jul 2024 11:38:29 +0200 [thread overview]
Message-ID: <20240701113829.74d628c7@xps-13> (raw)
In-Reply-To: <20240627112005.99375-4-mikhail.kshevetskiy@iopsys.eu>
Hi Mikhail,
mikhail.kshevetskiy@iopsys.eu wrote on Thu, 27 Jun 2024 14:20:02 +0300:
A commit log would be welcome here as many things happen in this patch.
I'm fine overall, I didn't thoroughly review all the patches but they
look sensible to me.
> Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
> ---
> drivers/mtd/nand/spi/core.c | 259 +++++++++++++++++++++---------------
> 1 file changed, 151 insertions(+), 108 deletions(-)
>
> diff --git a/drivers/mtd/nand/spi/core.c b/drivers/mtd/nand/spi/core.c
> index 8664e882753..1b2eefc9041 100644
> --- a/drivers/mtd/nand/spi/core.c
> +++ b/drivers/mtd/nand/spi/core.c
> @@ -156,20 +156,12 @@ int spinand_select_target(struct spinand_device *spinand, unsigned int target)
> return 0;
> }
>
> -static int spinand_init_cfg_cache(struct spinand_device *spinand)
> +static int spinand_read_cfg(struct spinand_device *spinand)
> {
> struct nand_device *nand = spinand_to_nand(spinand);
> - struct udevice *dev = spinand->slave->dev;
> unsigned int target;
> int ret;
>
> - spinand->cfg_cache = devm_kzalloc(dev,
> - sizeof(*spinand->cfg_cache) *
> - nand->memorg.ntargets,
> - GFP_KERNEL);
...
Thanks,
Miquèl
next prev parent reply other threads:[~2024-07-01 9:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-27 11:19 [PATCH 1/7] mtd: spinand: Use the spi-mem dirmap API Mikhail Kshevetskiy
2024-06-27 11:20 ` [PATCH 2/7] mtd: spinand: Add a NAND page I/O request type Mikhail Kshevetskiy
2024-06-27 11:20 ` [PATCH 3/7] mtd: spinand: simulate behavior of linux's function spinand_wait() Mikhail Kshevetskiy
2024-06-27 11:20 ` [PATCH 4/7] mtd: spinand: preparation for ecc engine adding Mikhail Kshevetskiy
2024-07-01 9:38 ` Miquel Raynal [this message]
2024-06-27 11:20 ` [PATCH 5/7] mtd: nand: add initial ecc engine support Mikhail Kshevetskiy
2024-06-27 11:20 ` [PATCH 6/7] mtd: spinand: sync supported flashes with linux-6.6 Mikhail Kshevetskiy
2024-06-27 11:20 ` [PATCH 7/7] mtd: spinand: add Winbond W25N04KV flash support Mikhail Kshevetskiy
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=20240701113829.74d628c7@xps-13 \
--to=miquel.raynal@bootlin.com \
--cc=bruce_suen@163.com \
--cc=dario.binacchi@amarulasolutions.com \
--cc=ddrokosov@sberdevices.ru \
--cc=francesco.dolcini@toradex.com \
--cc=frieder.schrempf@kontron.de \
--cc=gch981213@gmail.com \
--cc=ivprusov@salutedevices.com \
--cc=jagan@amarulasolutions.com \
--cc=max.krummenacher@toradex.com \
--cc=michael@amarulasolutions.com \
--cc=mikhail.kshevetskiy@iopsys.eu \
--cc=mmkurbanov@sberdevices.ru \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=william.zhang@broadcom.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.