diff options
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap/0001-BeagleBoard-Adjust-USER-button-pin-for-xM.patch')
-rw-r--r-- | extras/recipes-kernel/linux/linux-omap/0001-BeagleBoard-Adjust-USER-button-pin-for-xM.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap/0001-BeagleBoard-Adjust-USER-button-pin-for-xM.patch b/extras/recipes-kernel/linux/linux-omap/0001-BeagleBoard-Adjust-USER-button-pin-for-xM.patch new file mode 100644 index 00000000..44397d4a --- /dev/null +++ b/extras/recipes-kernel/linux/linux-omap/0001-BeagleBoard-Adjust-USER-button-pin-for-xM.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 3b1dc08ab568d1fdbc2a3731d7643cfeb48023e8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Thu, 10 Mar 2011 14:16:08 +0100 | ||
4 | Subject: [PATCH] BeagleBoard: Adjust USER button pin for xM | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | --- | ||
8 | arch/arm/mach-omap2/board-omap3beagle.c | 5 +++++ | ||
9 | 1 files changed, 5 insertions(+), 0 deletions(-) | ||
10 | |||
11 | diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c | ||
12 | index 731f4b5..fae3104 100644 | ||
13 | --- a/arch/arm/mach-omap2/board-omap3beagle.c | ||
14 | +++ b/arch/arm/mach-omap2/board-omap3beagle.c | ||
15 | @@ -949,6 +949,11 @@ static void __init omap3_beagle_init(void) | ||
16 | omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); | ||
17 | omap3_beagle_init_rev(); | ||
18 | omap3_beagle_i2c_init(); | ||
19 | + | ||
20 | + if (cpu_is_omap3630()) { | ||
21 | + gpio_buttons[0].gpio = 4; | ||
22 | + } | ||
23 | + | ||
24 | platform_add_devices(omap3_beagle_devices, | ||
25 | ARRAY_SIZE(omap3_beagle_devices)); | ||
26 | omap_serial_init(); | ||
27 | -- | ||
28 | 1.7.0 | ||
29 | |||