From patchwork Wed Jul 6 16:02:46 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v3] linux-omap-psp: Fix the user button GPIO to the correct value for a BeagleBoard-xM Date: Wed, 06 Jul 2011 16:02:46 -0000 From: Joel A Fernandes X-Patchwork-Id: 7091 Message-Id: <1309968166-23347-1-git-send-email-agnel.joel@gmail.com> To: openembedded-devel@lists.openembedded.org Cc: joelagnel@ti.com, beagleboard@googlegroups.com, k-kooi@ti.com, Joel A Fernandes , jdk@ti.com, beagle@list.ti.com 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 Acked-by: Jason Kridner --- Changes since v2: * Bumped PR * Made the commit summary more descriptive, removed full stop 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; }