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

Add platform config for selecting AMD/Intel host #499

Merged
merged 2 commits into from
Sep 5, 2024
Merged

Conversation

crawfxrd
Copy link
Member

@crawfxrd crawfxrd commented Aug 28, 2024

Add a new PLATFORM config for selecting whether a board is Intel or AMD (or potentially even ARM64). Make PECI require Intel and fix building when selecting AMD.

SB-TSI is not implemented as part of this, which can be done as part of adding an AMD-based board (#254).

Ref: #492

Introduce a new config to determine the host platform and use it to
conditionally include power sequence logic.

Signed-off-by: Tim Crawford <[email protected]>
PECI is an Intel-only mechanism for getting CPU temp. AMD will use
SB-TSI to get temps.

Add empty power functions for AMD so the project will compile with AMD
selected.

Signed-off-by: Tim Crawford <[email protected]>
@crawfxrd crawfxrd marked this pull request as ready for review September 3, 2024 14:48
@crawfxrd crawfxrd requested review from jackpot51 and a team September 3, 2024 14:48
Copy link
Member

@leviport leviport left a comment

Choose a reason for hiding this comment

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

I compiled a bunch of different models, and they all went fine. Then I test flashed a lemp10 and it seems good.

@crawfxrd crawfxrd merged commit 3d8204c into master Sep 5, 2024
48 checks passed
@crawfxrd crawfxrd deleted the amd-init branch September 5, 2024 23:19
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.

3 participants