diff options
author | Keith Hui <buurin@gmail.com> | 2024-05-16 19:02:33 -0400 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2024-06-07 22:33:59 +0000 |
commit | 317a982ddbc0c79ed0a5b2fc00dab74147e76505 (patch) | |
tree | b8ca5c54cf8b5347bd7effc6834614136c95ca70 /LICENSES | |
parent | 94625d2aae76f4b72bc59c0da36793db2dc6df5c (diff) |
nb/intel/sandybridge: Refactor pei_data building code
Incorporate fixed constants and simple data members into struct
pei_data as it gets initialized and make more use of existing helpers.
Compiler zeroes structs set up this way so the memset() is no longer
needed.
Drop northbridge_fill_pei_data() as it gets replaced entirely.
Gut southbridge_fill_pei_data() in preparation for having southbridge
code fill in USB-related members.
This is to make the code easier to maintain, and realizes small savings
in compiled code size too.
Change-Id: I3140cb99b0106669aa27788641c2895ced048e95
Signed-off-by: Keith Hui <buurin@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82480
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions