On 6/13/08, Timur Tabi timur@freescale.com wrote:
Jon Smirl wrote:
That forces every board to copy/paste the fabric driver and then makes tweaks to it even if it doesn't need board specific code.
Not at all. There's no reason we can't create a generic fabric driver that does no board-level programming. I haven't done it because the MPC8610 does need that kind of programming, and it's based on the information I get from the SSI driver. But you could just as easily take my fabric driver and make it generic. I don't know who would use it, though.
Doesn't the fact that you needed to modify the fabric driver to create two PCMs indicate that there is something wrong with the design? There is one fabric and two ssi devices.
--
Timur Tabi Linux kernel developer at Freescale