On Jan 18, 2010, at 10:20 AM, Martyn Welch wrote: > Hi, > > I'm currently adding support for a GE board based on the Freescale > P2020. This board has a cascaded interrupt controller and GPIO which > should be compatible with drivers currently provided for the MPC8641D > based boards that are already in the kernel. > > At the moment the drivers (in gef_gpio.c and gef_pic.c) are in the > "arch/powerpc/platforms/86xx" folder. As the p2020 is not 86xx, I guess > I should move these drivers to a more central location. I'm currently > not sure where would be best to move them to, I see > "arch/powerpc/sysdev" and "arch/powerpc/platforms" as potential > locations, where would be the most suitable?
I would suggest arch/powerpc/platforms as its board specific code and not chip specific. However others gripe at me about that from time to time. - k _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev