diff options
author | Martin Roth <gaumless@gmail.com> | 2023-02-24 13:51:41 -0700 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-03-09 17:54:54 +0000 |
commit | dcd7ec25cdfbe097ac4d269facd00582e52d980c (patch) | |
tree | 80527f66e02e323ecdf4827519b287ff1b6a657c /src/mainboard/google/skyrim/variants | |
parent | e7be79c610d30b316237ec885cbdf88d9906e1f8 (diff) |
mb/google/skyrim: Allow port descriptors to be overridden
This allows variants to override the skyrim port descriptors.
BUG=None
TEST=Tested with following patches
BRANCH=skyrim
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I8cff44f5b39d130a7191a69970cae8a88bb5d475
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73294
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/skyrim/variants')
-rw-r--r-- | src/mainboard/google/skyrim/variants/baseboard/include/baseboard/variants.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/skyrim/variants/baseboard/include/baseboard/variants.h index f2cd76bbe5..a340530be7 100644 --- a/src/mainboard/google/skyrim/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/skyrim/variants/baseboard/include/baseboard/variants.h @@ -44,4 +44,7 @@ void baseboard_romstage_gpio_table(const struct soc_amd_gpio **gpio, size_t *siz /* This function allows variant to override any GPIO init in romstage. */ void variant_romstage_override_gpio_table(const struct soc_amd_gpio **gpio, size_t *size); +/* Allow variants to override the DXIO Descriptors */ +void variant_get_dxio_descriptor(const fsp_dxio_descriptor **dxio_descs, size_t *dxio_num); + #endif /* __BASEBOARD_VARIANTS_H__ */ |