mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
mvebu: turris_omnia: add note about i2c slave disable
Code that disables the i2c slave is now in the mvtwsi i2c driver. Platform must enable DM_I2C to use that code. Add a comment in the code as a reminder for the planned DM_I2C migration of Turris Omnia. Reviewed-by: Heiko Schocher <hs@denx.de> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
This commit is contained in:
parent
173ec35191
commit
d78ecc7339
1 changed files with 5 additions and 1 deletions
|
@ -321,7 +321,11 @@ int board_early_init_f(void)
|
|||
writel(OMNIA_GPP_OUT_ENA_LOW, MVEBU_GPIO0_BASE + 0x04);
|
||||
writel(OMNIA_GPP_OUT_ENA_MID, MVEBU_GPIO1_BASE + 0x04);
|
||||
|
||||
/* Disable I2C debug mode blocking 0x64 I2C address */
|
||||
/*
|
||||
* Disable I2C debug mode blocking 0x64 I2C address.
|
||||
* Note: that would be redundant once Turris Omnia migrates to DM_I2C,
|
||||
* because the mvtwsi driver includes equivalent code.
|
||||
*/
|
||||
i2c_debug_reg = readl(MVEBU_TWSI_BASE + MVTWSI_ARMADA_DEBUG_REG);
|
||||
i2c_debug_reg &= ~(1<<18);
|
||||
writel(i2c_debug_reg, MVEBU_TWSI_BASE + MVTWSI_ARMADA_DEBUG_REG);
|
||||
|
|
Loading…
Reference in a new issue