[PATCH] mtd: spi-nor-core: Implement spi_nor_read_sfdp_dma_unsafe() for sfdp parse

Tom Rini trini at konsulko.com
Tue Dec 12 15:04:38 CET 2023


On Sun, Jul 10, 2022 at 11:07:41AM +0530, Jagan Teki wrote:
> On Fri, Jun 3, 2022 at 12:31 PM Vaishnav Achath <vaishnav.a at ti.com> wrote:
> >
> > During SFDP header parse and BFPT parse, structures in stack are used
> > to perform spi_nor_read_sfdp() which expects a dma-safe buffer.
> >
> > This commit introduces spi_nor_read_sfdp_dma_unsafe() to wrap
> > spi_nor_read_sfdp() using a kmalloc'ed bounce buffer which is
> > the same implementation in Linux (drivers/mtd/spi-nor/sfdp.c).
> >
> > Signed-off-by: Vaishnav Achath <vaishnav.a at ti.com>
> > ---
> 
> Applied to u-boot-spi/master

Where did this end up? Thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231212/c7ca102a/attachment.sig>


More information about the U-Boot mailing list