u-boot/drivers/mtd
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
..
nand Kconfig: Remove all default n/no options 2023-10-30 15:32:49 -04:00
nvmxip drivers/mtd/nvmxip: Move sandbox_set_enable_memio() to test 2023-08-30 17:56:21 -04:00
onenand common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
spi mtd: spi-nor-core: Implement spi_nor_read_sfdp_dma_unsafe() for sfdp parse 2023-12-14 23:47:13 +05:30
ubi common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
ubispl drivers/mtd/ubispl/ubispl.c: Fix spelling of "mismatched". 2022-01-13 07:57:49 -05:00
altera_qspi.c mtd: Remove mtd_erase_callback() entirely 2021-10-23 15:47:33 +05:30
cfi_flash.c mtd: cfi: respect reg address length 2023-05-15 10:00:30 +02:00
cfi_mtd.c mtd: cfi_mtd: populate mtd->dev with flash_info->dev 2022-02-01 10:56:25 +01:00
hbmc-am654.c tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
jedec_flash.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Kconfig mtd: Add missing MTD dependency for cfi_mtd 2023-07-21 09:00:38 +02:00
Makefile drivers/mtd/nvmxip: introduce NVM XIP block storage emulation 2023-04-27 17:01:14 -04:00
mtd-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
mtd_uboot.c configs: remove support of MTDIDS_DEFAULT/MTDPARTS_DEFAULT 2022-12-12 16:46:07 -05:00
mtdconcat.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
mtdcore.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
mtdcore.h mtd: move definitions to enlarge their range 2018-09-20 20:10:49 +05:30
mtdpart.c dm: core: Drop ofnode_is_available() 2022-09-29 16:11:31 -04:00
renesas_rpc_hf.c renesas: Fix RPC-IF compatible values 2022-09-02 13:25:01 +02:00
stm32_flash.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
stm32_flash.h stm32: stm32f4: move flash driver to mtd driver location 2016-03-26 18:49:28 -04:00