Searched hist:"09258 a9d50afec8cf51f08b732cbbfcd2b9d54d6" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | rockchip_sfc.c | 09258a9d50afec8cf51f08b732cbbfcd2b9d54d6 Wed Sep 15 11:34:35 UTC 2021 Jon Lin <jon.lin@rock-chips.com> UPSTREAM: spi: rockchip_sfc: add support for Rockchip SFC
This patch adds support for the Rockchip serial flash controller found on the PX30 SoC. It should work for versions 3-5 of the SFC IP, however I am only able to test it on v3.
This is adapted from the WIP SPI-MEM driver for the SFC on mainline Linux. Note that the main difference between this and earlier versions of the driver is that this one does not support DMA. In testing the performance difference (performing a dual mode read on a 128Mb chip) is negligible. DMA, if used, must also be disabled in SPL mode when using A-TF anyway.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 3fb08a21387b9f4f24cfd5b45f9d7f344d40fba4) Change-Id: I75e1fcae03c060c2b8ccf8c49e026dc882469166
|