Sean Cross
49e1eb19c0
emulation: connect EC
...
Connect the EC to the SoC. This allows for emulating both the EC and SoC
in tandem. Messages flow via a 16-bit bus. When data is not available,
`0xdddd` is returned.
There is a HOLD line that goes from the EC to the SoC. This is tied to
the inverse of presence of data in the EC FIFO -- when it's empty, HOLD
is `1`, and when there is data it's `0`.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-02-14 12:28:40 +08:00
Sean Cross
b8c23af4fd
emulation: fix betrustedsoci2c implementation
...
This fixes the RTC, which gets things working again.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-30 15:12:13 +08:00
Sean Cross
5aaf166541
emulation: implement partial ec i2c
...
This implements some i2c functionality on the EC. Additionally, it
implements the Betrusted watchdog.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-30 12:36:04 +08:00
Sean Cross
bb9472816f
emulation: add spinor_soft_int and wfi
...
These two peripherals are required to run the current build.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-08-02 17:10:10 +08:00
bunnie
8cb4362824
trying to merge...what are all these changes?
2021-07-18 12:31:29 +08:00
Sean Cross
3de0b4cf06
emulation: connect sha512 to Renode
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-28 21:35:17 +08:00
Sean Cross
a0cc1e2f24
svd2repl: generate i2c bus for betrusted
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-06-25 23:55:21 +08:00
Sean Cross
659f5b7f68
svd2repl: print auto-generated warning in header
...
Print a warning indicating that the platform file is auto-generated.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-19 14:25:50 +08:00
Sean Cross
74abf35a08
svd2repl: add program to generate a repl file
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-05-19 14:12:01 +08:00