On Wed, Jul 6, 2011 at 12:02 PM, Joel A Fernandes agnel.j...@gmail.com wrote:
The user-button wasn't working for me with the the linux-omap-psp-2.6.32
kernel, this change fixes it. I noticed the correct value in the
linux-omap-2.6.39 sources
Signed-off-by: Joel A Fernandes agnel.j...@gmail.com
---
Changes since v2:
* Bumped PR
* Made the commit summary more descriptive, removed full stop
Acked-by: Jason Kridner jkrid...@beagleboard.org
I confirmed by looking at the schematics that this is the correct
logic. GPIO4 for BeagleBoard-xM and GPIO7 for BeagleBoard.
conf/machine/include/omap3.inc | 2 +-
...agle-cleaned-up-board-revision-conditions.patch | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/conf/machine/include/omap3.inc b/conf/machine/include/omap3.inc
index c762d41..f806a32 100644
--- a/conf/machine/include/omap3.inc
+++ b/conf/machine/include/omap3.inc
@@ -4,7 +4,7 @@ TARGET_ARCH = arm
require conf/machine/include/tune-cortexa8.inc
PREFERRED_PROVIDER_virtual/kernel = linux-omap
# Increase this everytime you change something in the kernel
-MACHINE_KERNEL_PR = r102
+MACHINE_KERNEL_PR = r103
KERNEL_IMAGETYPE = uImage
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;
}
--
1.7.0.4
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel