Added STM32_QSPI_NO_RESET trick requested by Andy.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16014 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2023-01-23 08:20:21 +00:00
parent 3272bfdeae
commit 675e4740dc
1 changed files with 3 additions and 0 deletions

View File

@ -153,6 +153,9 @@ void hal_lld_init(void) {
__rccResetAHB1(~0);
__rccResetAHB2(~0);
__rccResetAHB3(~(RCC_AHB3RSTR_FMCRST |
#if defined(STM32_QSPI_NO_RESET)
RCC_AHB3RSTR_QSPIRST |
#endif
0x80000000U)); /* Was RCC_AHB3RSTR_CPURST in Rev-V.*/
__rccResetAHB4(~(RCC_APB4RSTR_SYSCFGRST | STM32_GPIO_EN_MASK));
__rccResetAPB1L(~0);