Skip to content
Commit f7e1de4c authored by Chin-Ting Kuo's avatar Chin-Ting Kuo Committed by Tom Rini
Browse files

spi-mem: Add dirmap API from Linux

This adds the dirmap API originally introduced in
Linux commit aa167f3fed0c
("spi: spi-mem: Add a new API to support direct mapping").
This also includes several follow-up patches and fixes.

Changes from Linux include:
* Added Kconfig option
* Changed struct device to struct udevice
* Changed struct spi_mem to struct spi_slave

This patch is obtained from the following patch
https://patchwork.ozlabs.org/project/uboot/patch/20210205043924.149504-3-seanga2@gmail.com/


The corresponding Linux kernel SHA1 is aa167f3fed0c.

Signed-off-by: default avatarChin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Signed-off-by: default avatarSean Anderson <seanga2@gmail.com>
Acked-by: default avatarPratyush Yadav <p.yadav@ti.com>
parent d37b4f37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment