For some reason renode is now complaining about a C# error where
a (ulong) cannot be cast to a (uint) type without an explicit
type cast.
This fixes that error. Seems to work ok.
Many of the devicse have changed from `uint` to `ulong`, so forward-port
the peripherals to work with the new format.
Signed-off-by: Sean Cross <sean@xobs.io>
Give a "Betrusted" namespace to all of the peripherals. This will enable
us to upstream various modules without breaking compatibility with our
own versions of these peripherals.
Signed-off-by: Sean Cross <sean@xobs.io>
Emulate both the SPINOR block as well as the OSPI flash attached to it.
With this change, the PDDB can now be initialized and resets itself
properly. Additionally, data persists across virtual reboots.
Data does not persist across runs of the emulator. That will follow in
an upcoming patch.
Signed-off-by: Sean Cross <sean@xobs.io>