coreboot/src/soc/amd
Felix Held 8db77d71bb soc/amd/*: move reset_i2c_peripherals call after early GPIO setup
Since bootblock_soc_early_init gets called before
bootblock_mainboard_early_init which does the early GPIO setup, external
I2C level shifters that are controlled by GPIOs might not be enabled yet.
Moving the reset_i2c_peripherals call to bootblock_soc_init makes sure
that the early GPIO setup is already done when reset_i2c_peripherals is
called.

Haven't probed any SCL signal on the non-SoC side of the I2C level
shifters yet, but the waveform on the SCL pin of I2C3 on the SoC of a
barla/careena Chromebook doesn't have the longer than expected SCL
pulses any more.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: If02140aef56ed6db7ecee24811724b5b24e54a91
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57291
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
2022-08-15 15:33:52 +00:00
..
cezanne soc/amd/*: move reset_i2c_peripherals call after early GPIO setup 2022-08-15 15:33:52 +00:00
common soc/amd/cezanne,common: factor out CPPC code to common AMD SoC code 2022-08-12 21:52:12 +00:00
mendocino soc/amd/*: move reset_i2c_peripherals call after early GPIO setup 2022-08-15 15:33:52 +00:00
picasso soc/amd/*: move reset_i2c_peripherals call after early GPIO setup 2022-08-15 15:33:52 +00:00
stoneyridge soc/amd/*: move reset_i2c_peripherals call after early GPIO setup 2022-08-15 15:33:52 +00:00