summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
diff options
context:
space:
mode:
authorPawel Kochanowski <pkochanowski@sii.pl>2025-04-24 09:45:39 +0200
committerFabio Estevam <festevam@denx.de>2025-04-25 08:52:59 -0300
commitddd6d6f8dbd940edf3b62e1b37bc86734aec236c (patch)
tree31d4f188fb7c37f854476041089cd69fdfbc4dd6 /arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
parent81b1a42be08d36b510cdfd9b7f3f742bc780a4b6 (diff)
spi: fsl_qspi: Move AHB read buffer config after LUT
When using CONFIG_FSL_QSPI_AHB_FULL_MAP the fsl_qspi_default_setup() sets the BFGENCR register to use the LUT(SEQID_LUT_AHB) before the Look Up Table is populated. This result in a situation that after 'sf probe' command any memory read from qspi using AHB will result in undefined behaviour (hang) untill first 'sf read' op is executed. Move the BFGENCR write to fsl_qspi_prepare_lut() to ensure that the setup is consistent. AHB reads will use the default LUT(index 0) setup by previous boot stage untill the first read op. Signed-off-by: Pawel Kochanowski <pkochanowski@sii.pl>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c')
0 files changed, 0 insertions, 0 deletions