diff options
author | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2022-11-11 11:48:39 -0600 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-11-13 15:37:46 +0000 |
commit | c3583173ecffd6041d51337b50715579e79475bb (patch) | |
tree | 67ad6b4b6ea3922347f8632318d53986bb58b1ea /src/soc/amd/picasso/include | |
parent | 16fd5843a2fc9d27baed2ac5efb2413ceeb728f5 (diff) |
soc/amd/picasso: add mb_pre_fspm() definition and weak implementation
On newer AMD platforms, mb_pre_fspm() is used to set GPIOs in romstage
for PCIe reset (currently set in bootblock) and touchscreen power
sequencing (not yet implemented, but will be later in the patch train).
Change-Id: Ia422aaa9e80355f9a9f8f850368441e5c8ff6598
Signed-off-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69452
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Reviewed-by: Jason Glenesk <jason.glenesk@amd.corp-partner.google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/picasso/include')
-rw-r--r-- | src/soc/amd/picasso/include/soc/platform_descriptors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/include/soc/platform_descriptors.h b/src/soc/amd/picasso/include/soc/platform_descriptors.h index 2ea35a940b..00cd42f4a8 100644 --- a/src/soc/amd/picasso/include/soc/platform_descriptors.h +++ b/src/soc/amd/picasso/include/soc/platform_descriptors.h @@ -27,4 +27,6 @@ void mainboard_get_dxio_ddi_descriptors( const fsp_dxio_descriptor **dxio_descs, size_t *dxio_num, const fsp_ddi_descriptor **ddi_descs, size_t *ddi_num); +void mb_pre_fspm(void); + #endif /* AMD_PICASSO_PLATFORM_DESCRIPTORS_H */ |