summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/include/amdblocks
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2021-06-25 15:09:43 -0600
committerMartin Roth <martinroth@google.com>2021-06-28 15:57:26 +0000
commitfe58977e6fe2501e2ae50ce9a6bd1790e47eadb8 (patch)
tree8df72465a225c9548c21032104a7d700bbf2b6d3 /src/soc/amd/common/block/include/amdblocks
parent5a3b07d168e574448db3985288551bbb458d31bb (diff)
soc/amd/cezanne: Add call to mb to configure eSPI requirements
When initializing espi early, there may be mainboard requirements to configure the bus properly. This allows the mainboard to do that. BUG=192100564 TEST=Build along with next patch, eSPI works on guybrush Change-Id: Icc02877a09b8f8ed20fd1b04f3cee0509f1a85c5 Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55863 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nikolai Vyssotski <nikolai.vyssotski@amd.corp-partner.google.com> Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd/common/block/include/amdblocks')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/espi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/espi.h b/src/soc/amd/common/block/include/amdblocks/espi.h
index 5d758354c5..9a563f9e36 100644
--- a/src/soc/amd/common/block/include/amdblocks/espi.h
+++ b/src/soc/amd/common/block/include/amdblocks/espi.h
@@ -128,4 +128,7 @@ void espi_update_static_bar(uintptr_t bar);
*/
int espi_setup(void);
+/* Run mainboard configuration needed to set up eSPI */
+void mb_set_up_early_espi(void);
+
#endif /* AMD_BLOCK_ESPI_H */