commit | 68cc3072f29154ff8e820f70ab80535445cdf187 | [log] [tgz] |
---|---|---|
author | Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com> | Fri Aug 19 17:01:10 2022 +0800 |
committer | Tom Rini <trini@konsulko.com> | Tue Sep 13 12:08:41 2022 -0400 |
tree | 4ba9398d761abbb95abe1e8115477a9c7cb9ee43 | |
parent | 77636dfb78d1fa9af8cf38a03f30be93d35050fa [diff] |
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>