From: Wolfgang Denk Date: Thu, 20 Oct 2011 16:02:20 +0200 Subject: [U-Boot] [PATCH 2/3] mpc85xx: Add a board-specific restart hook In-Reply-To: <8B4AC84D-1F22-4326-B75A-FB3CC39A5CF7@boeing.com> References: <1318981284-4357-1-git-send-email-Kyle.D.Moffett@boeing.com> <1318981284-4357-3-git-send-email-Kyle.D.Moffett@boeing.com> <201110182320.38921.vapier@gentoo.org> <7C2673D7-CC5C-490C-9809-06C9A207154F@boeing.com> <20111019203542.5538714094B3@gemini.denx.de> <8B4AC84D-1F22-4326-B75A-FB3CC39A5CF7@boeing.com> Message-ID: <20111020140220.343B915794DB@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear "Moffett, Kyle D", In message <8B4AC84D-1F22-4326-B75A-FB3CC39A5CF7@boeing.com> you wrote: > > By that definition, my board cannot safely use U-Boot's "reset" command. You can call halt() or panic() as last stage of your reset implementation. Heh. Mike writes the same ;-) > Would you accept a patch which makes it possible for a board to not > implement a "reset" command at all? > > There are a few places in common/cmd_bootm.c which are converted to use > panic("...") instead of printf("...")+do_reset(). This is not acceptable, as changes behaviour: panic() will halt the system, not reset it. 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 Actual war is a very messy business. Very, very messy business. -- Kirk, "A Taste of Armageddon", stardate 3193.0