[oe-commits] Joel A Fernandes : linux-omap-psp: Fix the user button GPIO to the correct value for a BeagleBoard-xM

git version control git at git.openembedded.org
Tue Jul 12 17:33:42 UTC 2011


Module: openembedded.git
Branch: 2011.03-maintenance
Commit: a1f31c757d2514e946737d60789c6f9f05ce38eb
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=a1f31c757d2514e946737d60789c6f9f05ce38eb

Author: Joel A Fernandes <agnel.joel at gmail.com>
Date:   Wed Jul  6 09:48:56 2011 +0000

linux-omap-psp: Fix the user button GPIO to the correct value for a BeagleBoard-xM

Signed-off-by: Joel A Fernandes <agnel.joel at gmail.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 ...agle-cleaned-up-board-revision-conditions.patch |    4 ++--
 recipes/linux/linux-omap-psp_2.6.32.bb             |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch b/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch
index 513a101..fb91cb6 100644
--- a/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch
+++ b/recipes/linux/linux-omap-psp-2.6.32/beagleboard-xmc/0008-omap3-beagle-cleaned-up-board-revision-conditions.patch
@@ -143,8 +143,8 @@ index 4bde54b..664a9c6 100644
  	omap3_beagle_i2c_init();
  
 -	if (cpu_is_omap3630()) {
-+	if ((omap3_beagle_get_rev() != OMAP3BEAGLE_BOARD_XMAB) &&
-+		(omap3_beagle_get_rev() != OMAP3BEAGLE_BOARD_XMC)) {
++	if ((omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XMAB) ||
++		(omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XMC)) {
  		gpio_buttons[0].gpio = 4;
  	}
  
diff --git a/recipes/linux/linux-omap-psp_2.6.32.bb b/recipes/linux/linux-omap-psp_2.6.32.bb
index e16b1a0..ab9a04a 100644
--- a/recipes/linux/linux-omap-psp_2.6.32.bb
+++ b/recipes/linux/linux-omap-psp_2.6.32.bb
@@ -9,7 +9,7 @@ COMPATIBLE_MACHINE = "am3517-crane|beagleboard|omap3evm|am3517-evm|dm37x-evm|am3
 SRCREV = "5fc29e7b2a76a64a739f857858ef0b98294aa155"
 
 # The main PR is now using MACHINE_KERNEL_PR, for omap3 see conf/machine/include/omap3.inc
-MACHINE_KERNEL_PR_append = "d+gitr${SRCREV}"
+MACHINE_KERNEL_PR_append = "e+gitr${SRCREV}"
 
 SRC_URI = "git://arago-project.org/git/projects/linux-omap3.git;protocol=http;branch=master \
            file://0001-Added-Crane-Board-support.patch \





More information about the Openembedded-commits mailing list