How to boot the edk2 from the qspi flash

Such as the title ,I want to start edk2 (uefi) from the qspi flash, but I don’t know what to do

This thread talks about running u-boot from flash.
Booting from Flash
Running edk2 from flash should work the same way. I’ve never used edk2 so can’t comment on that.

Thank you for your help!