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

[silicon_creator] Make the nonce.h header available separately #25792

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pamaury
Copy link
Contributor

@pamaury pamaury commented Jan 7, 2025

The nonce.c file has some requirements that pull a lot of code. On the other hand, some headers only require the definition of a nonce and not the implementation that goes with it. This commit refactors the dependencies so that it is possible to depend on the nonce and boot data definition without depending on the flash_ctrl driver.

This will be useful for Darjeeling test_rom because it depends on the nonce and boot data definition but does not have a flash controller.

The `nonce.c` file has some requirements that pull a lot of code.
On the other hand, some headers only require the definition of
a nonce and not the implementation that goes with it. This commit
refactors the dependencies so that it is possible to depend on
the nonce and boot data definition without depending on the
flash_ctrl driver.

Signed-off-by: Amaury Pouly <[email protected]>
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.

1 participant