diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-02-13 09:30:26 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-19 16:10:05 (GMT) |
commit | 365475e6d14bc1ea9d218c0fd1fe96878a9db94e (patch) | |
tree | d4730d8b64f9ce6437353cf23009645d030446c3 /common/cmd_sound.c | |
parent | 2f13363b0913afe910c22c0f9c12946c6603b1c2 (diff) | |
download | u-boot-365475e6d14bc1ea9d218c0fd1fe96878a9db94e.tar.xz |
Move #ifdef(CONFIG_DISPLAY_CPUINFO) from caller to callee
- 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@jp.panasonic.com>
Diffstat (limited to 'common/cmd_sound.c')
0 files changed, 0 insertions, 0 deletions