Skip to content

Fixup: Add missing commits#193

Closed
GoldenBug wants to merge 10 commits into
mainfrom
add_missing_commits
Closed

Fixup: Add missing commits#193
GoldenBug wants to merge 10 commits into
mainfrom
add_missing_commits

Conversation

@GoldenBug

Copy link
Copy Markdown
Contributor

Adding Missing Common Code Commits for #144

Yi-Shum and others added 9 commits January 26, 2022 17:10
Summary:
- Move code about sensor reading from platform code to common code.
- Provide README file describing how to add new sensors.

Test Plan:
- Build code: Pass
- Command test: Pass

Log:
```
root@bmc-oob:~# bic-util slot1 0xe0 0x23 0x9c 0x9c 0x00 0x01 0x00
9C 9C 00 26 00 00 00 C0
```
Summary:
- Modify macro and function name from "rty" to "retry".
- Add enumerate for return value of device return function.
- Modify DIMM name in intel_peci.
- Check if peci is successfully initialized in intel_peci.

Test Plan:
- Build Code: Pass
Summary:
- Extend sensor names to follow the same pattern.
  "sen" -> "sensor" and "snr" -> "sensor"
- Modify function return value, return 0 if success, non-0 if fail.
- Remove unnecessary goto.
- Add 0x69 in pmbus.h

Test plan:
- Build Code: Pass
Summary:
- Extend the names of variables, functions and macros from "snr" or "sen" to "sensor"

Test Plan:
- Build Code: PASS
Summary:
- Add path of common sensor code to yv35_bb CMakeList.txt
- Apply Clang format to all change files

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 Mar 9, 2022
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@GoldenBug has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@GoldenBug GoldenBug force-pushed the add_missing_commits branch from 5b765ef to 544e55e Compare March 9, 2022 10:42
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@GoldenBug has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@GoldenBug has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@GoldenBug GoldenBug deleted the add_missing_commits branch March 22, 2022 22:36
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.

3 participants