Re: [PATCH v5 04/14] ARM: OMAP2+: gpmc: minimal driver support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Mohammed, Afzal <afzal@xxxxxx> [120613 23:44]:
> Hi Tony,
> 
> On Thu, Jun 14, 2012 at 12:05:25, Tony Lindgren wrote:
> > * Mohammed, Afzal <afzal@xxxxxx> [120613 06:56]:
> 
> 
> > > Or you meant, even there read revision register ?
> > 
> > Yeah that should be fine as this really should only happen
> > during init and whatever revision specific features can
> > be initialized for GPMC.
> 
> Sorry, I got confused, we need revision to be available while setting
> time also, so you meant to store it as a variable or read revision
> at probe as well as during setting time ?

You can set up GPMC specific flags during init, something like
OMAP_GPMC_HAS_XYZ, or you can set up function pointers if only
some features are available on some revisions.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux