u-boot/drivers/mtd/spi
Vaishnav Achath 961c3e9f12 mtd: spi-nor-core: Implement spi_nor_read_sfdp_dma_unsafe() for sfdp parse
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@ti.com>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
2023-12-14 23:47:13 +05:30
..
fsl_espi_spl.c global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
Kconfig mtd: spi-nor: Add support for Silicon Kaiser sk25lp128 2023-12-06 18:04:46 +05:30
Makefile bootstd: Add a SPI flash bootdev 2023-01-23 18:11:41 -05:00
sandbox.c sandbox: spi: sandbox_sf_process_cmd() missing fallthrough 2023-04-28 11:30:17 -06:00
sf-uclass.c sf: Remove unused NEEDS_MANUAL_RELOC code bits 2023-09-14 10:42:25 -04:00
sf_bootdev.c bootstd: Add a new pre-scan priority for bootdevs 2023-01-23 18:11:41 -05:00
sf_dataflash.c common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
sf_internal.h mtd: spi-nor-core: Add support for DTR protocol 2021-06-28 12:00:32 +05:30
sf_mtd.c Audit <flash.h> inclusion 2022-08-04 16:18:47 -04:00
sf_probe.c sf: Guard against zero erasesize 2023-05-11 10:25:29 +08:00
spi-nor-core.c mtd: spi-nor-core: Implement spi_nor_read_sfdp_dma_unsafe() for sfdp parse 2023-12-14 23:47:13 +05:30
spi-nor-ids.c mtd: spi-nor: add flash model w25q01/02 support 2023-12-09 16:44:24 +05:30
spi-nor-tiny.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00