forked from Imagelibrary/rtems
This switches the XQspiPsu NOR driver layer to use the RTEMS event system so that waits for interrupt-based data transfers can time out instead of waiting indefinitely. It is sometimes possible for either the controller or the NOR chip to fail to issue a transfer completion event and recovery is preferable to a hang.