From: Vitaly Bordug <vbordug@ru.mvista.com>
To: Laurent Pinchart <laurent.pinchart@technotrade.biz>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Moving from arch/ppc to arch/powerpc with an MPC8248 (part 1)
Date: Wed, 14 Feb 2007 16:10:37 +0300 [thread overview]
Message-ID: <20070214161037.16260438@vitb.dev.rtsoft.ru> (raw)
In-Reply-To: <200702141308.17815.laurent.pinchart@technotrade.biz>
On Wed, 14 Feb 2007 13:08:17 +0100
Laurent Pinchart <laurent.pinchart@technotrade.biz> wrote:
> Hi everybody,
>
> I'm trying to take the big jump and move my (mostly) stable board support from
> arch/ppc to arch/powerpc. I'm still at a very early stage, but here are
> already a few questions.
>
> arch/ppc defines some 8260 generic handlers in syslib/mpc8260_setup.c for
> operations such as halt, reset, show_cpuinfo, ... The MPC82xx ADS in
> arch/powerpc/platforms/82xx redefines those handles as board-specific
> functions. Should they be made generic to all 82xx boards, or should I copy
> them to my board-specific file ? If the code should be shared by all 82xx
> boards, I'll probably end up copying most of the
> arch/ppc/syslib/mpc8260_setup.c code to
> arch/powerpc/platforms/82xx/mpc82xx.c.
>
I'd just copy stuff to the BSP -- let's consider the common/uncommon stuff later when we'll have to add something else.
It's hard to envision what level of code should be common and what should be board-specific as of now.
Otherwise, we'll have to painfully revisit issue later.
--
Sincerely,
Vitaly
next prev parent reply other threads:[~2007-02-14 13:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-14 12:08 Moving from arch/ppc to arch/powerpc with an MPC8248 (part 1) Laurent Pinchart
2007-02-14 13:10 ` Vitaly Bordug [this message]
2007-02-14 13:43 ` Laurent Pinchart
2007-02-14 13:53 ` Vitaly Bordug
2007-02-14 13:59 ` Laurent Pinchart
2007-02-14 20:42 ` Guennadi Liakhovetski
-- strict thread matches above, loose matches on Subject: below --
2007-02-15 12:43 Heiko Schocher
2007-02-15 16:33 ` Vitaly Bordug
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070214161037.16260438@vitb.dev.rtsoft.ru \
--to=vbordug@ru.mvista.com \
--cc=laurent.pinchart@technotrade.biz \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).