From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Sun, 8 Jan 2012 03:36:29 -0500 Subject: [U-Boot] [RFC PATCH v2 15/15] bootstage: arm: Add bootstage calls in board and bootm In-Reply-To: <1323551287-5351-16-git-send-email-sjg@chromium.org> References: <1323551287-5351-1-git-send-email-sjg@chromium.org> <1323551287-5351-16-git-send-email-sjg@chromium.org> Message-ID: <201201080336.30114.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Saturday 10 December 2011 16:08:07 Simon Glass wrote: > --- a/arch/arm/lib/bootm.c > +++ b/arch/arm/lib/bootm.c > > static void announce_and_cleanup(void) > { > printf("\nStarting kernel ...\n\n"); > + bootstage_mark_name(BOOTSTAGE_ID_BOOTM_HANDOFF, "start_kernel"); > +#ifdef CONFIG_BOOTSTAGE_REPORT > + bootstage_report(); > +#endif shouldn't the header make bootstage_report() into a stub when CONFIG_BOOTSTAGE_REPORT isn't defined ? then you won't need the ifdef protection here. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: