Select the right magic register for writes
The title says it all, during write transactions the magic register wasn't selected based on the address. Instead, the last magic register used for a read transaction was used. It could be the one from another SLR.
Additionally, conditionally disable the ME0 S-bit module when more than 1 OH is enabled due to compilation bugs.
Edited by Laurent Petre