-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
lib: os: reboot: a few cleanups #60920
Conversation
a61b8f3
to
4e3b7b9
Compare
The cleanup lgtm, however, I would put the fix for #60915 into its own PR |
0855475
to
adfae6c
Compare
3e3c0d6
to
2955328
Compare
62dbe72 introduced yet another reboot API for no reason. This patch converts the implementation into a sys_reboot() hook. Note that shell commands have been deleted, as there's already a shell command that uses the standard reboot. Signed-off-by: Gerard Marull-Paretas <[email protected]>
Add details on changes made in the reboot.h API. Signed-off-by: Gerard Marull-Paretas <[email protected]>
rebased to fix conflicts |
7a969af
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.
OK for retention/mcuboot
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.
MCUmgr/MCUboot look ok.
so what is exactly blocking this PR now? |
Four days waiting and already inpatient. |
not impatient, just unsure on why it's being blocked. |
@gmarull I think I recall @nashif mentioning that this should go through the treewide process https://docs.zephyrproject.org/latest/contribute/guidelines.html#treewide-changes |
Closing this one, if someone else has an interest and patience in this, feel free to take it. |
It's a shame this very useful cleanup didn't make it in. @nashif It looks like your previous concern has been addressed. Is there still something else blocking? |
After 62dbe72 and discussions in #60626 I realized the reboot functionality required a bit of love. So I tried to clean up things a little bit. I may have made a few mistakes, so please, review. I tried to make changes in small steps to ease the review process.
Fixes #60915