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