-
Notifications
You must be signed in to change notification settings - Fork 807
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
[rom] Update clkmgr jitter enable to match ROM specification. #26027
Conversation
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.
This is inline with the confirmed ECO, LGTM. Thanks for making the change @moidx !
The ROM e2e plan captures the expected behavior of the clock jitter enable flow: > `CREATOR_SW_CFG_JITTER_EN`: `kMultiBitBool4False` disables, all other values > enables. `CREATOR_SW_CFG_AST_INIT_EN` must also be `kMultiBitBool4True` to enable. This change refactors the code in `rom_start.S` and `test_rom_start.S` to explicitly reduce any value different than MubiFalse to MubiTrue. The implementation relies on the register to be reset to MubiFalse by default. Signed-off-by: Miguel Osorio <[email protected]>
@@ -170,12 +170,17 @@ _start: | |||
andi t0, t0, 0x1 | |||
beqz t0, .L_ast_done_loop | |||
|
|||
// Enable jittery clock if enabled in OTP. | |||
// Enable jittery clock if not strictly disabled in OTP. | |||
// Use hardcoded MULTIBIT_ASM_BOOL4_TRUE as the enable word to reduce all |
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.
Do you mean "Use MULTIBIT_ASM_BOOL4_FALSE as the disable word to reduce all other possible OTP values to enable."
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.
I meant to use the MULTIBIT_ASM_BOOL4_TRUE
word as the write value to reduce all other options to True (Enable).
The ROM e2e plan captures the expected behavior of the clock jitter enable flow:
This change refactors the code in
rom_start.S
andtest_rom_start.S
to explicitly reduce any value different than MubiFalse to MubiTrue. The implementation relies on the register to be reset to MubiFalse by default.