From: Pavel Machek Date: Wed, 12 Sep 2012 11:16:44 +0200 Subject: [U-Boot] [Patch] make reset_cpu nonreturn. In-Reply-To: <201209110853.23142.marex@denx.de> References: <1346456341-13759-1-git-send-email-dinguyen@altera.com> <201209010047.15704.marex@denx.de> <20120911001740.GA6149@elf.ucw.cz> <201209110853.23142.marex@denx.de> Message-ID: <20120912091644.GA17102@elf.ucw.cz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi! > > > > From: Dinh Nguyen > > > > > > > > Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. > > > > > > > > Applied on top of trini/WIP/spl-improvements v6 > > > > > > [...] > > > > > > __noreturn attribute to reset_cpu() is still missing, but that's a minor > > > thing. > > > > Hmm, I thought about it, but I guess the right solution is below. > > You sure it's propagated through to the function (aka. that it's not ignored) ? > If so, WFM. I think so. It is actually when optimizing the caller when "nonreturn" is important... Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html