Add new features for supporting OS based architecture
Created by: vingu-linaro
This patchset adds 3 new features that will be used by new architecture and product not yet pushed.
- Remove the infinite loop from arch init so the process of events can be done somewhere else which can be the context where we receive the event or a dedicated thread context
- Add an atomic dirver structure that provide minimal atomic operation when SCP firmware runs on top of an OS which already handles interrupt controller
- Add a stop sequence that can be called before destroying the SCP firmware