lowRISC / qemu

Fork of QEMU for development of lowRISC platforms (including OpenTitan)
http://www.qemu.org
Other
3 stars 8 forks source link

[ot] hw/opentitan: fix SPI device busy bit calculation #69

Closed nmoroze closed 3 months ago

nmoroze commented 4 months ago

This PR fixes an operator precedence bug in the virtual SPI device. I noticed that the SPI device's busy bit wasn't being set after receiving commands, regardless of how the command info register was configured. This change corrects the issue.

loiclefort commented 3 months ago

Thanks for the fix, merged as part of https://github.com/lowRISC/qemu/pull/71