From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2][repost] arm: Kirkwood: add SYSRSTn Duration Counter Support
Date: Sat, 22 Aug 2009 00:07:17 +0200 [thread overview]
Message-ID: <20090821220717.EFE05833DBD2@gemini.denx.de> (raw)
In-Reply-To: <73173D32E9439E4ABB5151606C3E19E202E39159C0@SC-VEXCH1.marvell.com>
Dear Prafulla Wadaskar,
In message <73173D32E9439E4ABB5151606C3E19E202E39159C0@SC-VEXCH1.marvell.com> you wrote:
>
> > > > > + sysrst_cnt = (0x1fffffff & readl(KW_REG_SYSRST_CNT));
> > > > > + printf("H/w Rst hold time: %d.%d secs\n",
> > > > > + sysrst_cnt / SYSRST_CNT_1SEC_VAL,
> > > > > + sysrst_cnt % SYSRST_CNT_1SEC_VAL);
> > > >
> > > > This should be debvug(), too ?
> > > Does it harm if we keep this info?
> >
> > Well, yes, it does. It adds output, which makes the boot process more
> > noisy and addds to the boot time. And normally none of the end users
> > will actually ever look at this information.
> That's understood but only in case sysrstdelay is defined which is not default case :-)
I don;t see why that should make any difference?
> > Really? What is the advantage for the enduser to know if he pressed
> > the button for 5.1 or 5.3 seconds?
> No, I mean it is useful in case of 4.9 or 5.1 :-)
What for? He can see the difference from different behaviour.
If you really feel you want to be verbose you can lard your
definitions of bootcmd, altbootcmd, failbootcmd, sysrstcmd, etc. with
any number of "echo" commands you like.
But please don't make the default output more verbose than really
necessary.
> > Please make it a debug().
> Should I? even though by default it will not show up :-)
Please do. Keep in mind: No news is good news.
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
Everyting looks interesting until you do it. Then you find it's just
another job. - Terry Pratchett, _Moving Pictures_
next prev parent reply other threads:[~2009-08-21 22:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-19 10:54 [U-Boot] [PATCH v2][repost] arm: Kirkwood: add SYSRSTn Duration Counter Support Prafulla Wadaskar
2009-08-19 7:20 ` Wolfgang Denk
2009-08-20 8:53 ` Prafulla Wadaskar
2009-08-20 9:37 ` Wolfgang Denk
2009-08-20 10:00 ` Prafulla Wadaskar
2009-08-21 22:07 ` Wolfgang Denk [this message]
2009-08-24 7:45 ` Prafulla Wadaskar
2009-08-19 22:29 ` Jean-Christophe PLAGNIOL-VILLARD
2009-08-20 2:53 ` Prafulla Wadaskar
2009-08-20 5:20 ` Jean-Christophe PLAGNIOL-VILLARD
2009-08-20 9:46 ` Prafulla Wadaskar
2009-08-20 10:41 ` Prafulla Wadaskar
2009-08-20 16:34 ` Jean-Christophe PLAGNIOL-VILLARD
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=20090821220717.EFE05833DBD2@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