projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a445586
)
hw/ssi: ibex_spi: update reg addr
author
Wilfred Mallawa
<wilfred.mallawa@wdc.com>
Tue, 23 Aug 2022 06:12:04 +0000
(16:12 +1000)
committer
Alistair Francis
<alistair@alistair23.me>
Mon, 26 Sep 2022 21:04:38 +0000
(07:04 +1000)
Updates the `EVENT_ENABLE` register to offset `0x34` as per
OpenTitan spec [1].
[1] https://docs.opentitan.org/hw/ip/spi_host/doc/#Reg_event_enable
Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <
20220823061201
.132342-5-wilfred.mallawa@opensource.wdc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/ssi/ibex_spi_host.c
patch
|
blob
|
history
diff --git
a/hw/ssi/ibex_spi_host.c
b/hw/ssi/ibex_spi_host.c
index 601041d719b8db791e30dcd0bc807b6cf2b9035e..94d7da9cc2f1c089cf553fb59c8f39a4df7d6bfd 100644
(file)
--- a/
hw/ssi/ibex_spi_host.c
+++ b/
hw/ssi/ibex_spi_host.c
@@
-93,7
+93,7
@@
REG32(ERROR_STATUS, 0x30)
FIELD(ERROR_STATUS, CMDINVAL, 3, 1)
FIELD(ERROR_STATUS, CSIDINVAL, 4, 1)
FIELD(ERROR_STATUS, ACCESSINVAL, 5, 1)
-REG32(EVENT_ENABLE, 0x3
0
)
+REG32(EVENT_ENABLE, 0x3
4
)
FIELD(EVENT_ENABLE, RXFULL, 0, 1)
FIELD(EVENT_ENABLE, TXEMPTY, 1, 1)
FIELD(EVENT_ENABLE, RXWM, 2, 1)