PSC clock divider

Grant Likely grant.likely at secretlab.ca
Sat Aug 8 04:29:40 EST 2009


On Fri, Aug 7, 2009 at 10:34 AM, Jon Smirl<jonsmirl at gmail.com> wrote:
> On Fri, Aug 7, 2009 at 12:15 PM, Grant Likely<grant.likely at secretlab.ca> wrote:
>>> Should I modify mpc52xx_set_psc_clkdiv() to take in a frequency and
>>> them move this code into mpc52xx_common.c? That allows the sysclk
>>> parameter to be eliminated for SPI.
>>
>> Yes, please do.
>
> Can mpc5xxx_clocks.c be eliminated and this function:
>
> mpc5xxx_get_bus_frequency(struct device_node *node)
>
> be moved into mpc52cc_common.c?

No.  mpc5xxx_get_bus_frequency is not mpc5200 specific.  It is used by
mpc5121 also.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.


More information about the Linuxppc-dev mailing list