diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2024-10-16 12:07:12 +0200 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2024-10-23 09:57:22 +0000 |
commit | f3d70af761180df14fd89511c30cd2d345a7bb60 (patch) | |
tree | 8a20fc50bbff2a366e912766ee47d4342af358c5 /src/mainboard/starlabs/byte_adl/mainboard.c | |
parent | 573cc4a27af0dc6c537dc46a741a9178d913a8ef (diff) |
mb/ocp/deltalake: Clean code
Use dev_find_all_devices_on_stack() to find the PCI device on a given stack.
That way open coded duplicated code can be dropped and there's no need to call
socket0_get_ubox_busno(), which allows to drop socket0_get_ubox_busno().
In addition it adds PCI multi segment support.
Change-Id: Ib0ed177ae22112a9f2ed32199409d91cb5851ede
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84790
Reviewed-by: Alicja Michalska <ahplka19@gmail.com>
Reviewed-by: Shuo Liu <shuo.liu@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/starlabs/byte_adl/mainboard.c')
0 files changed, 0 insertions, 0 deletions