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

minerva-ag: Support soc_pwron_reset commands #2186

Conversation

LisaChang-Quanta
Copy link
Contributor

Summary:

  • Support soc_pwron_reset commands

Test Plan:

  • Build code: PASS

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 20, 2025
@facebook-github-bot
Copy link
Contributor

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. (Because this pull request was imported automatically, there will not be any future comments.)

return -1;
}
} else if (!strcmp(argv[1], "0")) {
data = 0xEF;

Choose a reason for hiding this comment

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

Define 0xFF and 0xEF as constants

return -1;
}
} else {
shell_warn(shell, "Help: soc_pwron_reset <command> <drive-level>");

Choose a reason for hiding this comment

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

Update this so that it's clear with the valid commands are. It looks like drive level is optional (for the pass through case) so let's make that clear

@LisaChang-Quanta LisaChang-Quanta force-pushed the minerva-ag/support_soc_pwron_reset_command branch from 2acefdd to 37469f3 Compare February 3, 2025 06:40
@facebook-github-bot
Copy link
Contributor

@LisaChang-Quanta has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 669352e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants