* Question: support multiple boards of bcmring SoC?
@ 2009-10-23 18:59 Leo (Hao) Chen
2009-10-27 20:03 ` Andrew Victor
0 siblings, 1 reply; 2+ messages in thread
From: Leo (Hao) Chen @ 2009-10-23 18:59 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
We have multiple boards using the bcmring SoC, like evm board, sp board,
and we'd like to submit the support code to the community as well.
For the code we submitted to arch/arm/mach-bcmring, it supports only one
board for now.
My question is: what's the standard/best way to support multiple boards for
one SoC support?
Based on my understanding, we'd create the arch/arm/plat-bcmring
directory to store common code, and use arch/arm/mach-bcmring_evm, arch/arch/mach-bcmring_sp ..
to store board specific code. Is my understanding correct? If not,
what's the best practice?
Thanks a lot for your advice.
--
Leo Hao Chen
------------------------
Life is short, run long.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Question: support multiple boards of bcmring SoC?
2009-10-23 18:59 Question: support multiple boards of bcmring SoC? Leo (Hao) Chen
@ 2009-10-27 20:03 ` Andrew Victor
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Victor @ 2009-10-27 20:03 UTC (permalink / raw)
To: linux-arm-kernel
hi Leo,
> We have multiple boards using the bcmring SoC, like evm board, sp board,
> and we'd like to submit the support code to the community as well.
> For the code we submitted to arch/arm/mach-bcmring, it supports only one
> board for now.
>
> My question is: what's the standard/best way to support multiple boards for
> one SoC support?
You can possibly have a look at the AT91 processor support
(arch/arm/mach-at91/) for an example.
We have the SoC processor support files (eg, at91rm9200.c and
at91rm9200_devices.c), and a separate file for the various different
boards (eg, board-dk.c, board-eb9200.c, board-kb9202.c).
[The support for the other SoC's in the AT91 family is also in that
directory, so that's why there are other at91*.c and at91*_devices.c
files]
Regards,
Andrew Victor
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-27 20:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-23 18:59 Question: support multiple boards of bcmring SoC? Leo (Hao) Chen
2009-10-27 20:03 ` Andrew Victor
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).