summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c
diff options
context:
space:
mode:
authorChin-Ting Kuo <chin-ting_kuo@aspeedtech.com>2022-08-19 17:01:10 +0800
committerTom Rini <trini@konsulko.com>2022-09-13 12:08:41 -0400
commit992d02ea737895dc67246bbf7065084bb2721d6b (patch)
tree4ba9398d761abbb95abe1e8115477a9c7cb9ee43 /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c
parent463cdf66632a0d67bf824cb43b6c1b41782d0765 (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>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c')
0 files changed, 0 insertions, 0 deletions