[oe-commits] OE Builder : linux-2.6.31: improve GPIO support for boc01

git version control git at git.openembedded.org
Tue Nov 3 17:31:02 UTC 2009


Module: openembedded.git
Branch: rpurdie/work-in-progress
Commit: 27009b0a42b77dde41e43c704e75898b5f0ef9ff
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=27009b0a42b77dde41e43c704e75898b5f0ef9ff

Author: OE Builder <oebuilder at waffle.bolloretelecom.eu>
Date:   Fri Oct 30 13:51:22 2009 +0100

linux-2.6.31: improve GPIO support for boc01

---

 .../linux/linux-2.6.31/boc01/011-091028-gpio.patch |    9 ++++-----
 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 c71f9e6..12f5435 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;





More information about the Openembedded-commits mailing list