HI @dafela
This is a very interesting question for which I feel that I do not have definitive answer, let me explain below.
I generally would keep all the flexSPI related functions linked under SRAM and with interrupts disabled when needed, but for some cases, as you imply, it may not be necessary to threat all the functions the same. Are you facing an optimization issue? To avoid linking flexSPI functions to SRAM I would recommend to call bootROM APIS, they use FlexSPI too, but they are already embedded into bootROM memory map. Or, do you see any problems within your implementation?
Per my understanding, interrupts are disabled to avoid any unexpected flash access until write operation completes. Based on this, I would say that triggering an AHB FlexSPI command that does not involve writting ( as reading SFDP commands), should support working along interrupts enabled. However, testing this on an RTOS environment would be better, as the systick is always interrupting.
I mention AHB commands because this kind of transfer do not require SW to pull as, we need with IP commands

The function you mention does implement IP commands, wich do require SW polling and monitoring.


Another aspect to consider is that the reading JEDEC or SFDP parameters is being done before configuring the FlexSPI for the specific flash memory characteristics. Once the flash is configured, we tipically care for R/W commands. So this limits the quantity FlexSPI commands we have to do during runtime.
I hope this helps!
Diego