[U-Boot] [PATCH v2] BeagleBoard: Remove userbutton command and use gpio command instead

Joel A Fernandes agnel.joel at gmail.com
Mon Sep 12 17:35:33 CEST 2011


Hi Jason,

On Sun, Sep 11, 2011 at 2:54 PM, Jason Kridner <jkridner at beagleboard.org> wrote:
> On Sun, Sep 11, 2011 at 2:41 PM, Joel A Fernandes <agnel.joel at gmail.com> wrote:
>> Remove userbutton command and do the detection in board config file using the gpio command
>
> Can you split these into two or three patches?

Sure

>> -
>> +       "userbutton=if gpio input 173; then run userbutton_xm; " \
>> +               "else run userbutton_nonxm; fi;\0" \
>
> There is an environment variable called 'beaglerev'.  Is there an easy
> way to use it?

Something like [1] would work? I'll try it out. Thanks

Thanks,
Joel

[1] http://lists.linuxtogo.org/pipermail/openembedded-commits/2010-June/047925.html


More information about the U-Boot mailing list