Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ot] hw/opentitan: fix several issues with SPI Device implementation #108

Merged
merged 16 commits into from
Jan 20, 2025

Conversation

rivos-eblot
Copy link

No description provided.

…58a706da3

Address `TypeError: unhashable type: 'bytearray'` error message.

Signed-off-by: Emmanuel Blot <[email protected]>
…exit

`validate` early-terminate QEMU execution when a string/pattern is matched.

Signed-off-by: Emmanuel Blot <[email protected]>
…hen requested.

The power down command is not supported by the regular BootROM

Signed-off-by: Emmanuel Blot <[email protected]>
Despite the command opcodes being defined in the RTL code, there are never used.
What only matters is the index in the matching command info register.

Moreover, the CMD_INFO.VALID bit must be enforced for all commands, not only the
SW ones.

Signed-off-by: Emmanuel Blot <[email protected]>
Function name was confusing. It may also be called when no CS change occurs.

Signed-off-by: Emmanuel Blot <[email protected]>
There may be more than on SPI device on a system

Signed-off-by: Emmanuel Blot <[email protected]>
Copy link

@loiclefort loiclefort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (reviewed internally)

@rivos-eblot
Copy link
Author

@jwnrt, @AlexJones0 this might also be useful for EG branch.

@rivos-eblot rivos-eblot merged commit 468b0ee into lowRISC:ot-darjeeling-9.1.0 Jan 20, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants