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>
This commit is contained in:
parent
16e1fd5ae9
commit
7a0b9c5e73
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue