From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 6/7] powerpc/qe: supports loading QE firmware from nand flash
Date: Tue, 17 Aug 2010 11:23:32 +0200 [thread overview]
Message-ID: <20100817092332.98459157D71@gemini.denx.de> (raw)
In-Reply-To: <1282028890.2814.95.camel@localhost.localdomain>
Dear Haiying Wang,
In message <1282028890.2814.95.camel@localhost.localdomain> you wrote:
>
> > > arch/powerpc/cpu/mpc83xx/cpu_init.c | 8 --------
> > > arch/powerpc/cpu/mpc85xx/cpu_init.c | 8 --------
> > > arch/powerpc/lib/board.c | 31 +++++++++++++++++++++++++++++++
> > > 3 files changed, 31 insertions(+), 16 deletions(-)
> >
> > Please do not throw such stuff into common code. Use board /
> > architecture specific implementations instead (say, provide some
> > misc_init_r() or so).
> QE is not a misc feature for the SOCs with QE. It actually makes more
> sense to enable it in cpu init code. But P1021 doesn't have ROM in QE,
> and P1021mds doesn't have NOR flash on board, so I move this cpu feature
> to board.c. How about re-spin this patch as:
Maybe. But it has no place in arch/powerpc/lib/board.c
> arch/powerpc/cpu/mpc85xx/cpu_init.c | 2 +-
> arch/powerpc/lib/board.c | 15 +++++++++++++++
> 2 files changed, 16 insertions(+), 1 deletions(-)
NAK for the same reason - I don't want to see this in common code like
arch/powerpc/lib/board.c
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"You know, after a woman's raised a family and so on, she wants to
start living her own life." "Whose life she's _been_ living, then?"
- Terry Pratchett, _Witches Abroad_
prev parent reply other threads:[~2010-08-17 9:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-16 8:24 [U-Boot] [PATCH 6/7] powerpc/qe: supports loading QE firmware from nand flash Haiying Wang
2010-08-16 10:40 ` Wolfgang Denk
2010-08-17 7:08 ` Haiying Wang
2010-08-17 9:23 ` Wolfgang Denk [this message]
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=20100817092332.98459157D71@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/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