From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 19 Feb 2014 16:10:09 -0500 Subject: [U-Boot] [U-Boot, 1/2] Move #ifdef(CONFIG_DISPLAY_CPUINFO) from caller to callee In-Reply-To: <1392283827-4710-2-git-send-email-yamada.m@jp.panasonic.com> References: <1392283827-4710-2-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <20140219211009.GK19081@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Feb 13, 2014 at 06:30:26PM +0900, Masahiro Yamada wrote: > - When CONFIG_DISPLAY_CPUINFO is not enabled, > print_cpuinfo() should be defined as an empty function > in a header, include/common.h > > - Remove #ifdef CONFIG_DISPLAY_CPUINFO .. #endif > from caller, common/board_f.c and arch/arm/lib/board.c > > - Remove redundant prototypes in arch/arm/lib/board.c, > arch/arm/include/asm/arch-am33x/sys_proto.h and > board/nokia/rx51/rx51.h, keeping the one in include/common.h > > - Add #ifdef CONFIG_DISPLAY_CPUINFO to the func definition > where it is missing > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: