From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBCaWXDn21hbm4=?= Date: Tue, 16 Apr 2013 18:14:27 +0200 Subject: [U-Boot] [PATCH] make hang() a weak function In-Reply-To: <20130416160013.0F26D200568@gemini.denx.de> References: <1366107249-24547-1-git-send-email-andreas.devel@googlemail.com> <20130416133621.40db0a42@lilith> <516D39CF.9020907@gmail.com> <20130416122229.BB9E0200568@gemini.denx.de> <516D4B00.9030102@gmail.com> <20130416130515.04A83200568@gemini.denx.de> <516D52EE.1040402@gmail.com> <516D5D0A.20403@gmail.com> <20130416142358.E6CDA200568@gemini.denx.de> <516D62E1.7090306@gmail.com> <20130416151455.E6554200568@gemini.denx.de> <516D6F71.8090304@gmail.com> <20130416160013.0F26D200568@gemini.denx.de> Message-ID: <516D78E3.8080806@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang, On 16.04.13 18:00, Wolfgang Denk wrote: > Dear Andreas, > > In message <516D6F71.8090304@gmail.com> you wrote: >>> Also, as done in arch/powerpc/lib/board.c we usually print an error >>> message on the console device, and we can call bootstage_error(), >>> which could initialte such actions. >> >> Ahhh ... I got it. So this is the interface I want! All we need is >> bootstage_error() in all hang() variants and thats it. > > As you have to touch all these places anyway, please rather move > hang() out of all architecture specific code and place it in the > global lib/. will do. Best regards Andreas Bie?mann