Adding machine types to the kernel tree...

Kumar Gala kumar.gala at freescale.com
Tue Mar 8 04:38:26 EST 2005


On Mar 7, 2005, at 4:07 AM, Jakob Viketoft wrote:

> Thanks for the comments!
>
> Andrew May wrote:
>  > I think a huge first step would be to banish xparameters.h from all 
> the
>  > kernel code.
>  > Our HW guys just seem to do the strangest things without checking.
>  > So I have 2 spins of a board with 2 Virtex-II pro's each.
>  > The 2 spins have a small refrence clock change and the 2 CPU's have
>  > different IRQ mappings.
>
> I understand that there is numerous resentment against having this file
> in the kernel and I've been thinking of a solution without it. One such
> path would be serving the kernel with a OCP list of the devices used,
> but I'm unsure about the current status of OCP. Is this The Right Way 
> to
> do it, or are OCP likely to be abandoned further along the 2.6 road?

If you are talking about 2.6, dont use OCP.  Use the driver model and 
platform devices.  You can take a look at the arch/ppc/syslib/ppc_sys.c 
and arch/ppc/platforms/85xx for examples.

- kumar




More information about the Linuxppc-embedded mailing list