public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] mpc85xx: Add a board-specific restart hook
Date: Thu, 20 Oct 2011 17:30:41 +0200	[thread overview]
Message-ID: <20111020153041.25D2415794DB@gemini.denx.de> (raw)
In-Reply-To: <510974E8-A0C8-4E81-A034-B52F2AED12D0@boeing.com>

Dear "Moffett, Kyle D",

In message <510974E8-A0C8-4E81-A034-B52F2AED12D0@boeing.com> you wrote:
>
> > so why can't you have your do_reset() board hook negotiate with the other CPU 
> > to reset the system ?
>
> That's what I originally implemented.  The problem is the negotiation can take
> an unbounded amount of time to execute, so if it's run from the command line
> then it needs to be interruptible (EG: with Ctrl-C), which means it needs to
> be able to return an error.

Why would it need to be interruptable?  When you type "reset", then
you are gone.  You cannot interrupt that command any more.

If it takes a long time like in your case, so you might print a
message "Please stand by / have a cup of coffee while resetting" or
so...

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
"I think they're going to take all this money that we  spend  now  on
war and death --"                   "And make them spend it on life."
	-- Edith Keeler and Kirk, "The City on the Edge of Forever",
	   stardate unknown.

  parent reply	other threads:[~2011-10-20 15:30 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-18 23:41 [U-Boot] [PATCH 0/3] mpc85xx: HWW-1U-1A board support patches Kyle Moffett
2011-10-18 23:41 ` [U-Boot] [PATCH 1/3] mpc85xx: Add inline GPIO acessor functions Kyle Moffett
2011-10-19  3:19   ` Mike Frysinger
2011-10-19 13:51     ` Kumar Gala
2011-10-19 18:21       ` Moffett, Kyle D
2011-10-19 18:58         ` [U-Boot] [PATCH 2/3] " Kyle Moffett
2011-10-21  5:07           ` Kumar Gala
2011-10-18 23:41 ` [U-Boot] [PATCH 2/3] mpc85xx: Add a board-specific restart hook Kyle Moffett
2011-10-19  3:20   ` Mike Frysinger
2011-10-19 18:26     ` Moffett, Kyle D
2011-10-19 18:52       ` Mike Frysinger
2011-10-19 20:33         ` Wolfgang Denk
2011-10-19 20:35       ` Wolfgang Denk
2011-10-19 21:05         ` Moffett, Kyle D
2011-10-19 21:55           ` Mike Frysinger
2011-10-19 22:52             ` Moffett, Kyle D
2011-10-20  0:15               ` Mike Frysinger
2011-10-20  0:23                 ` Moffett, Kyle D
2011-10-20  1:31                   ` Mike Frysinger
2011-10-20 15:30                   ` Wolfgang Denk [this message]
2011-10-20 14:02           ` Wolfgang Denk
2011-10-20 17:45             ` Moffett, Kyle D
2011-10-20 19:28               ` Wolfgang Denk
2011-10-18 23:41 ` [U-Boot] [PATCH 3/3] mpc85xx: Add board support for the eXMeritus HWW-1U-1A devices Kyle Moffett

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=20111020153041.25D2415794DB@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