[oe] [PATCH v2] linux-omap-psp: Fix the user button GPIO to the correct value for a BeagleBoard-xM
Paul Menzel
paulepanter at users.sourceforge.net
Wed Jul 6 09:43:45 UTC 2011
Dear Joel,
Am Dienstag, den 05.07.2011, 20:48 -0500 schrieb Joel A Fernandes:
1. What has changed in this patch iteration? (You can put that below the
`---`.)
2. Could you elaborate a bit more what the problem was, i. e. how the
situation was before, and how the fix works? For example pointing to the
thread on the BeagleBoard list.(?)
3. Is a similar patch also needed for 2.6.39?
> Signed-off-by: Joel A Fernandes <agnel.joel at gmail.com>
> ---
> ...agle-cleaned-up-board-revision-conditions.patch | 4 ++--
> 1 files changed, 2 insertions(+), 2 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;
> }
Thanks,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110706/b6e719fd/attachment-0002.sig>
More information about the Openembedded-devel
mailing list