Platform files question
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 inarch/ppc/platforms. If you changeinclude/asm-ppc/serial.hANDnewBoard_serial.hneeds to includenewBoard.h, they both go ininclude/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/
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 inarch/ppc/platforms. If you changeinclude/asm-ppc/serial.hANDnewBoard_serial.hneeds to includenewBoard.h, they both go ininclude/asm-ppc/platforms/.And what if I have a port that has its
newBoard_serial.h, but it doesn't need to includenewBoard.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/