Re: Platform files question

2 messages, 2 authors, 2001-11-28 · open the first message on its own page

Re: Platform files question

From: Michael Sokolov <hidden>
Date: 2001-11-28 18:54:05

Tom Rini [off-list ref] 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?

MS

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

Re: Platform files question

From: Tom Rini <hidden>
Date: 2001-11-28 23:37:30

On Wed, Nov 28, 2001 at 10:54:05AM -0800, Michael Sokolov wrote:
Tom Rini [off-list ref] wrote:
quoted
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help