Skip to content

Feat/coreboot submodule#27

Open
hanetzer wants to merge 2 commits into
TrenchBoot:skl-loader-amdsl-v11from
hanetzer:feat/coreboot_submodule
Open

Feat/coreboot submodule#27
hanetzer wants to merge 2 commits into
TrenchBoot:skl-loader-amdsl-v11from
hanetzer:feat/coreboot_submodule

Conversation

@hanetzer

Copy link
Copy Markdown

Small change to allow usage of the slrt.h header while building skinit in coreboot. May be a bit bodgy but you get the goal, if you have a better suggestion let me know.

Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
@hanetzer hanetzer force-pushed the feat/coreboot_submodule branch from a6feb7d to c9c7524 Compare June 16, 2026 17:48
Should allow us  to use slrt.h in skinit.c when building for coreboot.

Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
@hanetzer hanetzer changed the base branch from master to skl-loader-amdsl-v11 June 16, 2026 20:19
@SergiiDmytruk

Copy link
Copy Markdown
Member

All other projects just copy the declarations. This means duplication but it's more upstreamable and allows project-specific changes. The approach presented here works only for AMD but coreboot will need Intel declarations as well which are not present in SKL. So I think that just copying the file to coreboot is a better approach, even if not ideal.

@hanetzer

Copy link
Copy Markdown
Author

just going by the TODO: include tags.h from SKL somehow that was there when I started.

@SergiiDmytruk

Copy link
Copy Markdown
Member

just going by the TODO: include tags.h from SKL somehow that was there when I started.

Oh, sorry, it was an old TODO and SLRT is now used for all platforms, not just on AMD.

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