summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot/u-boot-v2012.04.01/0008-mx6qsabrelite-No-need-to-set-the-direction-for-GPIO3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-v2012.04.01/0008-mx6qsabrelite-No-need-to-set-the-direction-for-GPIO3.patch')
-rw-r--r--recipes-bsp/u-boot/u-boot-v2012.04.01/0008-mx6qsabrelite-No-need-to-set-the-direction-for-GPIO3.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-bsp/u-boot/u-boot-v2012.04.01/0008-mx6qsabrelite-No-need-to-set-the-direction-for-GPIO3.patch b/recipes-bsp/u-boot/u-boot-v2012.04.01/0008-mx6qsabrelite-No-need-to-set-the-direction-for-GPIO3.patch
deleted file mode 100644
index 5514e23..0000000
--- a/recipes-bsp/u-boot/u-boot-v2012.04.01/0008-mx6qsabrelite-No-need-to-set-the-direction-for-GPIO3.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 7bca215d56396abf4173e101f6a292117db2d373 Mon Sep 17 00:00:00 2001
2From: Fabio Estevam <festevam@gmail.com>
3Date: Wed, 11 Apr 2012 10:22:24 +0000
4Subject: [PATCH 08/56] mx6qsabrelite: No need to set the direction for
5 GPIO3_23 again
6
7There is a 'gpio_direction_output(87, 0);' call previously, so the GPIO direction is
8already established.
9
10Use gpio_set_value() for changing the GPIO output then.
11
12Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
13Acked-by: Dirk Behme <dirk.behme@googlemail.com>
14---
15 board/freescale/mx6qsabrelite/mx6qsabrelite.c | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/board/freescale/mx6qsabrelite/mx6qsabrelite.c b/board/freescale/mx6qsabrelite/mx6qsabrelite.c
19index fda3e41..b4d9519 100644
20--- a/board/freescale/mx6qsabrelite/mx6qsabrelite.c
21+++ b/board/freescale/mx6qsabrelite/mx6qsabrelite.c
22@@ -135,7 +135,7 @@ static void setup_iomux_enet(void)
23
24 /* Need delay 10ms according to KSZ9021 spec */
25 udelay(1000 * 10);
26- gpio_direction_output(87, 1); /* GPIO 3-23 */
27+ gpio_set_value(87, 1); /* GPIO 3-23 */
28
29 imx_iomux_v3_setup_multiple_pads(enet_pads2, ARRAY_SIZE(enet_pads2));
30 }
31--
321.7.10
33