diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2024-01-19 15:44:36 +0100 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2024-03-05 11:24:38 +0000 |
commit | 6cb6bfff381111956c43f9509ee6f5141ec67c91 (patch) | |
tree | b27c78b97c64b921293c377ba0577744f9aa52a7 /src/device/i2c.c | |
parent | 3b0d573dc24f145a0c4bac42a973386cc9aa5d42 (diff) |
soc/intel/xeon_sp/util: Enhance lock_pam0123
- Only compile code in ramstage
- Lock PAM on all sockets
- Instead of manually crafting S:B:D:F numbers for each PCI device
search for the devices by PCI vendor and device ID.
This adds PCI multi-segment support without any further code
modifications, since the correct PCI segment will be stored in the
devicetree.
Change-Id: Ic8b3bfee8f0d02790620280b30a9dc9a05da1be8
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80101
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Diffstat (limited to 'src/device/i2c.c')
0 files changed, 0 insertions, 0 deletions