-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Upl #10570
base: master
Are you sure you want to change the base?
Upl #10570
Changes from 1 commit
e925cdf
f07203a
eb915bc
fde5dec
f9d008c
891f0ba
1fda1d0
748ed6a
0b6e89e
30a676b
00815b4
a769797
de74337
cf49140
fb56700
71bf1a3
50583c8
8c92b74
da883d0
510d4ff
b16de57
98be596
cc71486
b8196d1
4bea365
14e69b8
6b96c9e
3826c86
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,8 +61,11 @@ def BuildFvImageNode(Fdt, InfoHeader, ParentNode, DataOffset, DataSize, Descript | |
Fdt.setprop_u32(ParentNode, 'data-offset', DataOffset) | ||
Fdt.setprop_str(ParentNode, 'compression', 'none') | ||
Fdt.setprop_str(ParentNode, 'project', 'tianocore') | ||
Fdt.setprop_str(ParentNode, 'arch',Arch) | ||
if InfoHeader.Arch is not None: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can this or the below ever be None? Also, arch's value is the same, as this is what the caller passed in |
||
Fdt.setprop_str(ParentNode, 'arch', InfoHeader.Arch) | ||
Fdt.setprop_str(ParentNode, 'type', 'firmware') | ||
if InfoHeader.Os is not None: | ||
Fdt.setprop_str(ParentNode, 'os', InfoHeader.Os) | ||
Fdt.setprop_u64(ParentNode, 'load', InfoHeader.LoadAddr + DataOffset - InfoHeader.DataOffset) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FVs aren't place-specific. Do we need a |
||
Fdt.setprop_str(ParentNode, 'description', Description) | ||
|
||
|
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.
This is going to break PayloadLoaderPeim and coreboot. If the changes have to be made, I'll likely be making coreboot's, but please sync this with FitPayloadLoaderPeim. This is also getting hard to read, (well, harder, after what I did to
load
) and I'm not sure if we can avoid that