-
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:
Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com> Signed-off-by:
Sean Anderson <seanga2@gmail.com> Acked-by:
Pratyush Yadav <p.yadav@ti.com>
f7e1de4c