aboutsummaryrefslogtreecommitdiff
path: root/board/gateworks/gw_ventana/gw_ventana_spl.c
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2019-02-04 13:10:49 -0800
committerStefano Babic <sbabic@denx.de>2019-02-15 22:01:15 +0100
commit3f0da8748ad777ea2d26f86a041872e5f8c4c4da (patch)
tree123ccbdc7d514480a009346b63a4976454e74d7b /board/gateworks/gw_ventana/gw_ventana_spl.c
parentff3568fcfe22504cbf61711350c49876a7b5dd7c (diff)
downloadu-boot-3f0da8748ad777ea2d26f86a041872e5f8c4c4da.zip
u-boot-3f0da8748ad777ea2d26f86a041872e5f8c4c4da.tar.gz
u-boot-3f0da8748ad777ea2d26f86a041872e5f8c4c4da.tar.bz2
imx: ventana: remove setup of I2C3 from SPL
Do not setup I2C3 in the SPL for Ventana as some devices on that bus (aic3x codecs) can hang the bus causing i2c_setup to spin endlessly until they are put into reset. Removing the setup of I2C3 from the SPL allows the board-specific GPIO to be configured to take care of putting codecs in reset prior to U-Boot setting up I2C3. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board/gateworks/gw_ventana/gw_ventana_spl.c')
-rw-r--r--board/gateworks/gw_ventana/gw_ventana_spl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana_spl.c b/board/gateworks/gw_ventana/gw_ventana_spl.c
index a6ac546..80ade9f 100644
--- a/board/gateworks/gw_ventana/gw_ventana_spl.c
+++ b/board/gateworks/gw_ventana/gw_ventana_spl.c
@@ -599,9 +599,10 @@ void board_init_f(ulong dummy)
/* setup AXI */
gpr_init();
- /* iomux and setup of i2c */
+ /* iomux and setup of uart/i2c */
setup_iomux_uart();
- setup_ventana_i2c();
+ setup_ventana_i2c(0);
+ setup_ventana_i2c(1);
/* setup GP timer */
timer_init();