summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/include
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2018-01-29 17:44:58 -0700
committerAaron Durbin <adurbin@chromium.org>2018-01-30 05:38:43 +0000
commitde3e84c9258a0aeb75b5874975b7c21baaea92f1 (patch)
treeb95728f099d97658f3838de2a6d7e45c9d266374 /src/soc/amd/stoneyridge/include
parent7ad0ce7b405c0bac64b77344d4e7502fac64ef03 (diff)
soc/amd/stoneyridge: initialize i2c buses marked as early init
Initialize the i2c buses that are marked as early init in the device tree. BUG=b:70232394,b:69250772 Change-Id: Iced1797f3bb4765646736c423b081cdc33c12a48 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/23497 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Justin TerAvest <teravest@chromium.org>
Diffstat (limited to 'src/soc/amd/stoneyridge/include')
-rw-r--r--src/soc/amd/stoneyridge/include/soc/southbridge.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/amd/stoneyridge/include/soc/southbridge.h b/src/soc/amd/stoneyridge/include/soc/southbridge.h
index fa427eedc1..2f9d9f9e68 100644
--- a/src/soc/amd/stoneyridge/include/soc/southbridge.h
+++ b/src/soc/amd/stoneyridge/include/soc/southbridge.h
@@ -389,4 +389,7 @@ int sb_set_wideio_range(uint16_t start, uint16_t size);
int mainboard_get_xhci_oc_map(uint16_t *usb_oc_map);
int mainboard_get_ehci_oc_map(uint16_t *usb_oc_map);
+/* Initialize all the i2c buses that are marked with early init. */
+void i2c_soc_early_init(void);
+
#endif /* __STONEYRIDGE_H__ */