summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/picasso/i2c.c
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2021-03-19 17:31:32 +0800
committerMartin Roth <martinroth@google.com>2021-03-22 03:41:25 +0000
commit7a0b9c5e7369dc98e559e821864e324e3881ec49 (patch)
treedbc8f2e52d724a6ece6a7a7c8c4e8ef097a95fc8 /src/soc/amd/picasso/i2c.c
parent16e1fd5ae99c4939f0778fe417e8575e249ccadb (diff)
downloadcoreboot-7a0b9c5e7369dc98e559e821864e324e3881ec49.tar.gz
coreboot-7a0b9c5e7369dc98e559e821864e324e3881ec49.tar.bz2
coreboot-7a0b9c5e7369dc98e559e821864e324e3881ec49.zip
trivial: Fix the tab and rearrange the lines
Change-Id: I1ded9fcec9594977b9b9c8d3c105f9998c0ee2bc Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51656 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/picasso/i2c.c')
-rw-r--r--src/soc/amd/picasso/i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/picasso/i2c.c b/src/soc/amd/picasso/i2c.c
index 11e69b103884..18660f640bfc 100644
--- a/src/soc/amd/picasso/i2c.c
+++ b/src/soc/amd/picasso/i2c.c
@@ -55,8 +55,8 @@ void soc_i2c_misc_init(unsigned int bus, const struct dw_i2c_bus_config *cfg)
pad_ctrl |= I2C_PAD_CTRL_RX_SEL_3_3V;
pad_ctrl &= ~I2C_PAD_CTRL_FALLSLEW_MASK;
- pad_ctrl |= cfg->speed == I2C_SPEED_STANDARD ? I2C_PAD_CTRL_FALLSLEW_STD :
- I2C_PAD_CTRL_FALLSLEW_LOW;
+ pad_ctrl |= cfg->speed == I2C_SPEED_STANDARD ?
+ I2C_PAD_CTRL_FALLSLEW_STD : I2C_PAD_CTRL_FALLSLEW_LOW;
pad_ctrl |= I2C_PAD_CTRL_FALLSLEW_EN;
mainboard_i2c_override(bus, &pad_ctrl);