From de3e84c9258a0aeb75b5874975b7c21baaea92f1 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Mon, 29 Jan 2018 17:44:58 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/23497 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Justin TerAvest --- src/soc/amd/stoneyridge/bootblock/bootblock.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/amd/stoneyridge/bootblock') diff --git a/src/soc/amd/stoneyridge/bootblock/bootblock.c b/src/soc/amd/stoneyridge/bootblock/bootblock.c index f9ae365c0d..709b4130a3 100644 --- a/src/soc/amd/stoneyridge/bootblock/bootblock.c +++ b/src/soc/amd/stoneyridge/bootblock/bootblock.c @@ -130,4 +130,7 @@ void bootblock_soc_init(void) post_code(0x38); /* APs will not exit amdinitearly */ do_agesawrapper(agesawrapper_amdinitearly, "amdinitearly"); + + /* Initialize any early i2c buses. */ + i2c_soc_early_init(); } -- cgit v1.2.3