summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOE Builder <oebuilder@waffle.bolloretelecom.eu>2009-10-30 13:51:22 +0100
committerOE Builder <oebuilder@waffle.bolloretelecom.eu>2009-10-30 13:51:22 +0100
commit27009b0a42b77dde41e43c704e75898b5f0ef9ff (patch)
treeb573f257efd068493692f454459018d3e9f58a8a
parent050c77a7fe37cf6a4875b5ce3db809e32ebed149 (diff)
linux-2.6.31: improve GPIO support for boc01
-rw-r--r--recipes/linux/linux-2.6.31/boc01/011-091028-gpio.patch9
1 files changed, 4 insertions, 5 deletions
diff --git a/recipes/linux/linux-2.6.31/boc01/011-091028-gpio.patch b/recipes/linux/linux-2.6.31/boc01/011-091028-gpio.patch
index c71f9e6289..12f5435599 100644
--- a/recipes/linux/linux-2.6.31/boc01/011-091028-gpio.patch
+++ b/recipes/linux/linux-2.6.31/boc01/011-091028-gpio.patch
@@ -1,7 +1,7 @@
Index: linux-2.6.31/arch/powerpc/platforms/83xx/mpc831x_rdb.c
===================================================================
---- linux-2.6.31.orig/arch/powerpc/platforms/83xx/mpc831x_rdb.c 2009-10-29 16:31:14.000000000 +0100
-+++ linux-2.6.31/arch/powerpc/platforms/83xx/mpc831x_rdb.c 2009-10-29 17:23:51.000000000 +0100
+--- linux-2.6.31.orig/arch/powerpc/platforms/83xx/mpc831x_rdb.c 2009-09-10 00:13:59.000000000 +0200
++++ linux-2.6.31/arch/powerpc/platforms/83xx/mpc831x_rdb.c 2009-10-30 12:44:52.000000000 +0100
@@ -13,6 +13,7 @@
* option) any later version.
*/
@@ -18,7 +18,7 @@ Index: linux-2.6.31/arch/powerpc/platforms/83xx/mpc831x_rdb.c
#include "mpc83xx.h"
-@@ -79,7 +81,22 @@
+@@ -79,7 +81,21 @@
static int __init declare_of_platform_devices(void)
{
@@ -29,13 +29,12 @@ Index: linux-2.6.31/arch/powerpc/platforms/83xx/mpc831x_rdb.c
+
of_platform_bus_probe(NULL, of_bus_ids, NULL);
+
-+ /* activate USB, RFID and touch board */
++ /* activate USB and RFID */
+ np = of_find_compatible_node(NULL, NULL, "fsl,mpc8313-exio");
+ if (np)
+ {
+ gpio_direction_output(217, 1); // EXIO1 : USB
+ gpio_direction_output(219, 1); // EXIO3 : RFID
-+ gpio_direction_output(220, 1); // EXIO4 : Touch board
+ of_node_put(np);
+ }
return 0;