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>
Showing
- arch/arm/cpu/armv7/omap-common/hwinit-common.c 3 additions, 0 deletionsarch/arm/cpu/armv7/omap-common/hwinit-common.c
- arch/arm/include/asm/arch-am33xx/sys_proto.h 0 additions, 4 deletionsarch/arm/include/asm/arch-am33xx/sys_proto.h
- arch/arm/lib/board.c 0 additions, 4 deletionsarch/arm/lib/board.c
- board/altera/socfpga/socfpga_cyclone5.c 2 additions, 0 deletionsboard/altera/socfpga/socfpga_cyclone5.c
- board/freescale/mx53loco/mx53loco.c 2 additions, 0 deletionsboard/freescale/mx53loco/mx53loco.c
- board/nokia/rx51/rx51.h 0 additions, 2 deletionsboard/nokia/rx51/rx51.h
- common/board_f.c 0 additions, 2 deletionscommon/board_f.c
- include/common.h 7 additions, 0 deletionsinclude/common.h
Loading
Please register or sign in to comment