From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH]ppc_4xx:netstal HCU5 board: added various fixes and POST
Date: Mon, 14 Jan 2008 21:20:35 +0100 [thread overview]
Message-ID: <20080114202035.11CEC248DE@gemini.denx.de> (raw)
In-Reply-To: Your message of "Mon, 14 Jan 2008 15:30:23 +0100." <200801141530.23152.niklausgiger@gmx.ch>
In message <200801141530.23152.niklausgiger@gmx.ch> you wrote:
> Moved some code to nestal/common/nm_bsp.c.
> Added support for the vxWorks EDR.
> Enable trace for Lauterbach, if present.
> Added support for POST.
...
> + if (mfspr(dbcr0) & 0x80000000) { /* External debugger alive */
> + /* enable trace facilty for Lauterback
/*
* enable trace facilty for Lauterbach
...
> - /*-------------------------------------------------------------------+
> - | Set priority for all PLB3 devices to 0.
> - | Set PLB3 arbiter to fair mode.
> - +-------------------------------------------------------------------*/
> + /*-------------------------------------------------------------------
> + * Set priority for all PLB3 devices to 0.
> + * Set PLB3 arbiter to fair mode.
> + *-------------------------------------------------------------------*/
...
> - /*-------------------------------------------------------------------+
> - | Set priority for all PLB4 devices to 0.
> - +-------------------------------------------------------------------*/
> + /*-------------------------------------------------------------------
> + * Set priority for all PLB4 devices to 0.
> + *-------------------------------------------------------------------*/
If you change multiline comments, then please do it right. The
preferred style for long (multi-line) comments is:
/*
* This is the preferred style for multi-line
* comments in the Linux kernel source code.
* Please use it consistently.
*
* Description: A column of asterisks on the left side,
* with beginning and ending almost-blank lines.
*/
> + /* TLB#12: */
> + tlbentry( CFG_CS_2 + 0x1000000, SZ_16M, CFG_CS_2 + 0x1000000, 1, AC_R|AC_W|AC_X|SA_G|SA_I )
Here and in some other places: please mind the maximum line length.
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
"If the code and the comments disagree, then both are probably
wrong." - Norm Schryer
prev parent reply other threads:[~2008-01-14 20:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-14 14:30 [U-Boot-Users] [PATCH]ppc_4xx:netstal HCU5 board: added various fixes and POST Niklaus Giger
2008-01-14 15:11 ` Stefan Roese
2008-01-14 20:20 ` 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=20080114202035.11CEC248DE@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.