Skip to contentSkip to conversation

Platform files question

DISCUSSION Michael Sokolov 2 participants 2 messages Nov 28, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · Tom Rini

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/

#1 lore raw
Quoted 11 lines · Michael Sokolov
Quoted 5 lines · Tom Rini

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/