diff options
author | Nico Huber <nico.h@gmx.de> | 2022-08-05 14:47:35 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-08-17 19:09:05 +0000 |
commit | 077dc2eca2a1fbd105c04183ef8767f120f6fc12 (patch) | |
tree | 500a125d44b8d3e9d5175901de9238c484dafa80 /src/mainboard/gigabyte/ga-945gcm-s2l/data.vbt | |
parent | b511804169038ba3bff5b8b9b81978234cc9b58b (diff) |
pciexp: Refactor extended capability handling
Add some inline functions for the bit-wise operations, change the loop
body to an if-bail-out style and remove stateful variables.
Change-Id: Ia8db915f375737064e3486d313383d9b6c3eb2b8
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66458
Reviewed-by: Bill XIE <persmule@hardenedlinux.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/gigabyte/ga-945gcm-s2l/data.vbt')
0 files changed, 0 insertions, 0 deletions