RE: [PATCH] ARM: OMAP: Beagle: support MMC gpio_wp differences on xM

2010-08-11 Thread Ghorai, Sukumar
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Robert Nelson Sent: Tuesday, August 10, 2010 8:10 PM To: t...@atomide.com Cc: linux-omap@vger.kernel.org; Robert Nelson Subject: [PATCH] ARM: OMAP: Beagle: support MMC

Re: [PATCH] ARM: OMAP: Beagle: support MMC gpio_wp differences on xM

2010-08-11 Thread Robert Nelson
-     if (system_rev = 0x20 system_rev = 0x34301000) { +     if (cpu_is_omap3630()) { +             mmc[0].gpio_wp = -EINVAL; +     } else if (system_rev = 0x20 system_rev = 0x34301000) { [Ghorai] it's an old code. But I think we can replace the hardcode value to use omap_rev() as you are