Skip to content
Snippets Groups Projects
Commit e6b1b58b authored by Yegor Yefremov's avatar Yegor Yefremov Committed by Tom Rini
Browse files

arm: baltos: drop I2C speed to 1000 Hz


This action is need to make I2C communication with PMIC
stable for low temperature. Print current I2C speed in
SPL for visual control.

Signed-off-by: default avatarYegor Yefremov <yegorslists@googlemail.com>
parent 5833521b
No related branches found
No related tags found
No related merge requests found
...@@ -184,6 +184,8 @@ void am33xx_spl_board_init(void) ...@@ -184,6 +184,8 @@ void am33xx_spl_board_init(void)
*/ */
i2c_set_bus_num(1); i2c_set_bus_num(1);
printf("I2C speed: %d Hz\n", CONFIG_SYS_OMAP24_I2C_SPEED);
if (i2c_probe(TPS65910_CTRL_I2C_ADDR)) { if (i2c_probe(TPS65910_CTRL_I2C_ADDR)) {
puts("i2c: cannot access TPS65910\n"); puts("i2c: cannot access TPS65910\n");
return; return;
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
/* I2C configuration */ /* I2C configuration */
#undef CONFIG_SYS_OMAP24_I2C_SPEED #undef CONFIG_SYS_OMAP24_I2C_SPEED
#define CONFIG_SYS_OMAP24_I2C_SPEED 10000 #define CONFIG_SYS_OMAP24_I2C_SPEED 1000
#ifdef CONFIG_NAND #ifdef CONFIG_NAND
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x000c0000 #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x000c0000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment