]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: aspeed: SPI dirmap read support
authorChin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
Fri, 19 Aug 2022 09:01:10 +0000 (17:01 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 13 Sep 2022 16:08:41 +0000 (12:08 -0400)
commit992d02ea737895dc67246bbf7065084bb2721d6b
tree4ba9398d761abbb95abe1e8115477a9c7cb9ee43
parent463cdf66632a0d67bf824cb43b6c1b41782d0765
spi: aspeed: SPI dirmap read support

From the HW point of view, the performance of
command read mode is greater than user mode slightly.
Thus, dirmap read framework is introduced to achieve
this goal. In dirmap_create, command read mode is
configured. Usually, the decoded address area with flash
size is assigned to each CS. CPU can thus access the
SPI flash as normal memory in dirmap_read function.

Signed-off-by: Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>
drivers/spi/spi-aspeed-smc.c