[U-Boot] [U-Boot, 1/2] Move #ifdef(CONFIG_DISPLAY_CPUINFO) from caller to callee
Tom Rini
trini at ti.com
Wed Feb 19 22:10:09 CET 2014
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 <yamada.m at jp.panasonic.com>
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: <http://lists.denx.de/pipermail/u-boot/attachments/20140219/71e5370b/attachment.pgp>
More information about the U-Boot
mailing list