diff options
author | Peng Fan <van.freenix@gmail.com> | 2016-06-15 14:18:37 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-06-18 10:29:18 +0200 |
commit | 85801579e10208b7466f4a7f8329b4f5d2056fff (patch) | |
tree | 8ef1facf21f178e87d77349b8b14e24cb825614a /board/freescale | |
parent | 0fcb85cc0cdf898019680a09200677a0beef27d9 (diff) | |
download | u-boot-imx-85801579e10208b7466f4a7f8329b4f5d2056fff.zip u-boot-imx-85801579e10208b7466f4a7f8329b4f5d2056fff.tar.gz u-boot-imx-85801579e10208b7466f4a7f8329b4f5d2056fff.tar.bz2 |
imx6ulevk: fix 74LV OE usage
Fix 74LV OE gpio index. gpio index is wrong,
so gpio output will not have effect, since we
use wrong GPIO5_IO18, but not correct GPIO5_IO8.
And at the end of the initialization of 74lv init, should
keep OE voltage level at LOW to make 74lv output the correct
voltage.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c index 88d3fbd..b861122 100644 --- a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c +++ b/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c @@ -66,7 +66,7 @@ DECLARE_GLOBAL_DATA_PTR; #define IOX_SDI IMX_GPIO_NR(5, 10) #define IOX_STCP IMX_GPIO_NR(5, 7) #define IOX_SHCP IMX_GPIO_NR(5, 11) -#define IOX_OE IMX_GPIO_NR(5, 18) +#define IOX_OE IMX_GPIO_NR(5, 8) static iomux_v3_cfg_t const iox_pads[] = { /* IOX_SDI */ @@ -154,8 +154,6 @@ static void iox74lv_init(void) * shift register will be output to pins */ gpio_direction_output(IOX_STCP, 1); - - gpio_direction_output(IOX_OE, 1); }; #ifdef CONFIG_SYS_I2C_MXC |