-
Notifications
You must be signed in to change notification settings - Fork 13
ot_earlgrey: add JTAG support to LC Ctrl
#274
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
base: ot-9.2.0
Are you sure you want to change the base?
Conversation
310b170 to
b408a44
Compare
b408a44 to
d0e0d84
Compare
rivos-eblot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems mostly ok to me
62e6f92 to
33c4756
Compare
Signed-off-by: Luís Marques <[email protected]>
33c4756 to
30e97b3
Compare
AlexJones0
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this LGTM.
rivos-eblot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, except the ABIS constant.
I think you need to update the documentation so that the LC / DMI interface is referenced for ot_earlgrey.md as it is for ot_darjeeling.md. You may also need to add a machine section to lc_ctrl_dmi.md in a similar manner done for example in of_flash.md:
## Machine specific options
### EarlGrey Machine
...
to document the new JTAG controller with an example for its chardev, see for example Remote bitbang protocol section in jtag-dm.md
| * words on the TL-UL side, addressing [0 .. 2^7*4) bytes, and accessing the LC | ||
| * Ctrl registers at the appropriate (documented) offset. | ||
| */ | ||
| #define OT_EG_LC_CTRL_TAP_DMI_ABIS 7u |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is ABIS an ABITS typo (Address BITS) or is it referring to something else? (not enough coffee yet for me)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, that was a typo. Thanks!
No description provided.