linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Platform files question
@ 2001-11-28 16:40 Michael Sokolov
  2001-11-28 18:06 ` Armin Kuster
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Sokolov @ 2001-11-28 16:40 UTC (permalink / raw)
  To: linuxppc-dev


Hi there,

Now that we have arch/ppc/platforms and include/asm-ppc/platforms for all
platform-specific files, I have this question for you guys. When I do a new
platform port, should I put the main .h file for the platform in
arch/ppc/platforms or in include/asm-ppc/platforms?

MS

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Platform files question
@ 2001-11-28 17:14 Michael Sokolov
  2001-11-28 18:50 ` Tom Rini
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Sokolov @ 2001-11-28 17:14 UTC (permalink / raw)
  To: linuxppc-dev


Armin Kuster <akuster@mvista.com> wrote:

> AFAIK your board header should go in include/asm-ppc/platforms and your
> board.c file should go arch/ppc/platforms

Then are all the platforms that have their headers together with source files
in arch/ppc/platforms and nothing in include/asm-ppc wrong? For example, back
in MVista's 2.2 tree k2.h was in include/asm-ppc, but when I got to the public
tree, which by then was linuxppc_2_4_devel, it moved to arch/ppc/kernel and is
now in arch/ppc/platforms.

MS

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Platform files question
@ 2001-11-28 18:54 Michael Sokolov
  2001-11-28 23:37 ` Tom Rini
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Sokolov @ 2001-11-28 18:54 UTC (permalink / raw)
  To: linuxppc-dev


Tom Rini <trini@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?

MS

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-12-28 17:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-28 16:40 Platform files question Michael Sokolov
2001-11-28 18:06 ` Armin Kuster
2001-12-28 17:14   ` Dan Malek
  -- strict thread matches above, loose matches on Subject: below --
2001-11-28 17:14 Michael Sokolov
2001-11-28 18:50 ` Tom Rini
2001-11-28 18:54 Michael Sokolov
2001-11-28 23:37 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).