summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/include
diff options
context:
space:
mode:
authorMartin Roth <martin@coreboot.org>2020-06-14 17:24:12 -0600
committerMartin Roth <martinroth@google.com>2020-07-08 19:34:44 +0000
commitac41f582351dc2c6aaaf0c1ef662e6d99b67b4ce (patch)
tree33f2987f2d052db4d4b9615795f62a6486b131b4 /src/soc/amd/picasso/include
parentab70d0ff668c584aff43ac87185acc65f3f6a295 (diff)
soc/amd/picasso: Allow modification of i2c base addresses in PSP
BUG=b:158124527 TEST=Build & boot psp_verstage on trembyle Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: I45380e0c61e1bb7a94a96630e5867b7ffca0909c Reviewed-on: https://review.coreboot.org/c/coreboot/+/42064 Reviewed-by: Raul Rangel <rrangel@chromium.org> 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/i2c.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/include/soc/i2c.h b/src/soc/amd/picasso/include/soc/i2c.h
index 34c19aaf29..20084f0eba 100644
--- a/src/soc/amd/picasso/include/soc/i2c.h
+++ b/src/soc/amd/picasso/include/soc/i2c.h
@@ -22,4 +22,7 @@ struct soc_amd_i2c_save {
void sb_reset_i2c_slaves(void);
+/* Sets the base address for the specific I2C bus. */
+void i2c_set_bar(unsigned int bus, uintptr_t bar);
+
#endif /* __PICASSO_I2C_H__ */