summaryrefslogtreecommitdiffstats
path: root/board/vscom
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2015-07-06 17:28:35 +0200
committerTom Rini <trini@konsulko.com>2015-07-08 21:51:37 -0400
commite6b1b58bedbc507f840b2bae06eadb1d34512efa (patch)
treed8e0c0e20be3522bb1aae69843c7290f5512e041 /board/vscom
parent5833521b38c014b5afffad3a70480ed4b7e00e6d (diff)
downloadblackbird-obmc-uboot-e6b1b58bedbc507f840b2bae06eadb1d34512efa.tar.gz
blackbird-obmc-uboot-e6b1b58bedbc507f840b2bae06eadb1d34512efa.zip
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: Yegor Yefremov <yegorslists@googlemail.com>
Diffstat (limited to 'board/vscom')
-rw-r--r--board/vscom/baltos/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/vscom/baltos/board.c b/board/vscom/baltos/board.c
index 99ca60e2ac..09bc8c682a 100644
--- a/board/vscom/baltos/board.c
+++ b/board/vscom/baltos/board.c
@@ -184,6 +184,8 @@ void am33xx_spl_board_init(void)
*/
i2c_set_bus_num(1);
+ printf("I2C speed: %d Hz\n", CONFIG_SYS_OMAP24_I2C_SPEED);
+
if (i2c_probe(TPS65910_CTRL_I2C_ADDR)) {
puts("i2c: cannot access TPS65910\n");
return;
OpenPOWER on IntegriCloud