From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4] Add initial support for Wandboard dual lite and solo.
Date: Fri, 15 Mar 2013 15:55:27 +0100 [thread overview]
Message-ID: <5143365F.5000207@denx.de> (raw)
In-Reply-To: <20130314202406.5FE6520057D@gemini.denx.de>
On 14/03/2013 21:24, Wolfgang Denk wrote:
> Dear Fabio,
>
Hi Wolfgang, hi Fabio,
>>> Can we please remove the "Reset cause: WDOG" line in production mode?
>>
>> Do you mean the change below?
>>
>> --- a/arch/arm/imx-common/cpu.c
>> +++ b/arch/arm/imx-common/cpu.c
>> @@ -148,7 +148,7 @@ int print_cpuinfo(void)
>> (cpurev & 0x000F0) >> 4,
>> (cpurev & 0x0000F) >> 0,
>> mxc_get_clock(MXC_ARM_CLK) / 1000000);
>> - printf("Reset cause: %s\n", get_reset_cause());
>> + debug("Reset cause: %s\n", get_reset_cause());
>> return 0;
>> }
>> #endif
>>
>> Since this is common code I can address it separately with other
>> patch. Just let me know if this is OK.
>
> Indeed this is common code, I see it now. So yes, if we change this,
> it should be done as separate patch. I think debug() makes a lot of
> sense here to reduce the output at boot time to a reasonable minimum,
> but then - is there another way for the user to inquire for this
> information. If not, should we add it to the bdinfo output?
Reset cause is a very important information - we can know if the
processor gets a watchdog, or if a power on happened. The last one can
address to hiddden issues with the power supply.
I understand that less redundant information is better, but this is very
important info and it cannot be used only if DEBUG is set. IMHO we
should let it as it is - it helps us when something bad happens.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
next prev parent reply other threads:[~2013-03-15 14:55 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-14 2:32 [U-Boot] [PATCH v4] Add initial support for Wandboard dual lite and solo Fabio Estevam
2013-03-14 12:31 ` Wolfgang Denk
2013-03-14 17:01 ` Fabio Estevam
2013-03-14 17:36 ` Tom Rini
2013-03-14 20:36 ` Wolfgang Denk
2013-03-14 21:01 ` Tom Rini
2013-03-14 22:17 ` Scott Wood
2013-03-14 20:24 ` Wolfgang Denk
2013-03-15 14:55 ` Stefano Babic [this message]
2013-03-15 17:27 ` Wolfgang Denk
2013-03-15 18:26 ` Stefano Babic
2013-03-15 20:48 ` Wolfgang Denk
2013-03-14 20:13 ` Fabio Estevam
2013-03-14 20:37 ` Wolfgang Denk
2013-03-15 18:21 ` Fabio Estevam
2013-03-15 20:32 ` Fabio Estevam
2013-03-15 20:52 ` Wolfgang Denk
2013-03-20 10:12 ` Stefano Babic
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=5143365F.5000207@denx.de \
--to=sbabic@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