Platform files question

Tom Rini trini at kernel.crashing.org
Thu Nov 29 10:37:30 EST 2001


On Wed, Nov 28, 2001 at 10:54:05AM -0800, Michael Sokolov wrote:
>
> Tom Rini <trini at kernel.crashing.org> wrote:
>
> > There's no exact way right now.  But it breaks down like this, if you
> > have a port which does _not_ need to change include/asm-ppc/serial.h,
> > they can all go in arch/ppc/platforms.  If you change
> > include/asm-ppc/serial.h AND newBoard_serial.h needs to include
> > newBoard.h, they both go in include/asm-ppc/platforms/.
>
> And what if I have a port that has its newBoard_serial.h, but it doesn't need
> to include newBoard.h?

arch/ppc/platforms/newBoard.h,
include/asm-ppc/platforms/newBoard_serial.h.

All of the 6xx/7xx/74xx board.h files in platforms/ are there because of
board_serial.h requiring them.

--
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