From: Mike Frysinger Date: Wed, 12 Oct 2011 11:21:24 -0400 Subject: [U-Boot] [PATCH v2] arm, logbuffer: make it compileclean In-Reply-To: <1318418018-28462-1-git-send-email-hs@denx.de> References: <1316064446-5125-1-git-send-email-hs@denx.de> <1318418018-28462-1-git-send-email-hs@denx.de> Message-ID: <201110121121.25175.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 Wednesday 12 October 2011 07:13:38 Heiko Schocher wrote: > --- a/arch/arm/lib/board.c > +++ b/arch/arm/lib/board.c > @@ -80,7 +80,6 @@ extern void rtl8019_get_enetaddr (uchar * addr); > #include > #endif > > - > /************************************************************************ > * Coloured LED functionality > ************************************************************************ this looks like useless noise that checkpatch doesn't even complain about > --- a/common/cmd_log.c > +++ b/common/cmd_log.c > > unsigned long __logbuffer_base(void) > { > - return CONFIG_SYS_SDRAM_BASE + gd->bd->bi_memsize - LOGBUFF_LEN; > + return CONFIG_SYS_SDRAM_BASE + gd->ram_size - LOGBUFF_LEN; > } i'm guessing avr32/microblaze not having ram_size in their global_data is a bug ? conversely, arm is the only arch that doesn't have bi_memsize in their board_data ... -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 : http://lists.denx.de/pipermail/u-boot/attachments/20111012/bb21d3bd/attachment.pgp