Skip to content

[RFC] qdl: introduce allow-fusing parameter #103

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

igoropaniuk
Copy link

Introduce the --allow-fusing parameter, which must be explicitly set if the secdata partition is programmed, as it will lead to irreversible changes (fuses will be blown during the next boot).

Refactor program_find_bootable_partition() function implementation.

Signed-off-by: Igor Opaniuk <[email protected]>
Introduce the --allow-fusing parameter, which must be explicitly set
if the "secdata" partition is programmed, as it will lead to irreversible
changes (fuses will be blown during the next boot).

Signed-off-by: Igor Opaniuk <[email protected]>
@igoropaniuk
Copy link
Author

@konradybcio @lumag @andersson could you please take a look. thanks!

Copy link
Contributor

@lumag lumag left a comment

Choose a reason for hiding this comment

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

LGTM except for a single comment.

@@ -219,6 +219,23 @@ int erase_execute(struct qdl_device *qdl, int (*apply)(struct qdl_device *qdl, s
return 0;
}

static struct program *program_find_partition(const char *partition)
Copy link
Contributor

Choose a reason for hiding this comment

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

Please write somewhat sensible commit message, descring why do you need to perform these changes and/or what kind of refactoring was performed

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