Re: [PATCH v5 1/3] ARM: OMAP: Beagle: revision detection

2010-08-19 Thread Jarkko Nikula
On Wed, 18 Aug 2010 10:56:51 -0500 Robert Nelson robertcnel...@gmail.com wrote: + ret = gpio_request(171, rev_id_0); + if (ret 0) + goto fail0; + + ret = gpio_request(172, rev_id_1); + if (ret 0) + goto fail1; + + ret = gpio_request(173,

Re: [PATCH v5 1/3] ARM: OMAP: Beagle: revision detection

2010-08-19 Thread Robert Nelson
On Thu, Aug 19, 2010 at 1:53 AM, Jarkko Nikula jhnik...@gmail.com wrote: On Wed, 18 Aug 2010 10:56:51 -0500 Robert Nelson robertcnel...@gmail.com wrote: +     ret = gpio_request(171, rev_id_0); +     if (ret 0) +             goto fail0; + +     ret = gpio_request(172, rev_id_1); +     if

[PATCH v5 1/3] ARM: OMAP: Beagle: revision detection

2010-08-18 Thread Robert Nelson
Due to the omap3530 ES3.0 Silicon being used on both the B5/B6 and C1/2/3 Beagle we can't use the cpu_is_omap34xx() routines to differentiate the Beagle Boards. However gpio pins 171,172,173 where setup for this prupose, so lets use them. Changes: for older U-Boot's, use omap_mux_init_gpio()