Re: Guidelines to move mach-omap2/gpmc to drivers/memory-controller

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

 



On 02/19/2013 06:36 PM, Ezequiel Garcia wrote:
> Hi Jon,
> 
> On Fri, Feb 15, 2013 at 02:08:08PM -0600, Jon Hunter wrote:
>>
>> On 02/15/2013 01:53 PM, Paul Walmsley wrote:
>>> Hi,
>>>
>>> On Fri, 15 Feb 2013, Ezequiel Garcia wrote:
>>>
>>>> I imagine one of the biggest issues is GPMC's dependency on
>>>> hwmod code. Can anyone shed some light on how to handle this?
>>>
>>> What dependency is this?  I'm not aware of any GPMC dependency to hwmod; 
>>> there shouldn't be any.
>>
>> If Ezequiel is referring to the code in omap_gpmc_init() that is looking
>> up the hwmod struct for gpmc, then this not a dependency. This function
>> should remain in mach-omap2/gpmc.c and not be moved into drivers/.
> 
> Yes, I was referring to that code.
> 
>> Eventually once we have migrated to DT, this function will be removed
>> altogether.
>>
> 
> Mmm, I see. So I might try to move GPMC and friends to drivers/memory
> keeping the hwmod code inside mach-omap2.
> 
> I already did a few tests and I **think** that with a little luck 
> we can have a not-so-intrusive patch that moves GPMC.
> 
> @Jon: Do you think it's worth the effort? 

Yes absolutely! We want all the drivers out of mach-omap2. So that would
be great.

Cheers
Jon

--
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