include/asm-ppc/platforms/

Tom Rini trini at kernel.crashing.org
Thu Nov 29 10:50:54 EST 2001


On Wed, Nov 28, 2001 at 08:46:59AM +0000, Adrian Cox wrote:
>
> Paul Mackerras wrote:
>
> >The patch below does all this.  It does mean that we will need a
> >platform header for every platform, and a platform_serial header for
> >every platform where we want to use the standard serial driver.  As an
> >example, I have made an all_ppc_serial.h that contains most of what
> >was in serial.h before.  In fact, with a bit of care we could make
> >serial.h be the symlink.
>
> All my boards now use early_serial_setup() instead of a platform header
> file. This approach is simple to write, and requires no modifications
> outside the platform_setup.c file. I'd rather not go back to providing
> platform specific serial definitions in a header file.

What do you use for a bootloader tho?  I'm guessing PPCBoot.  The
in-kernel wrappers have a basic serial driver and need to know about
these things.

--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list