From: Marek Vasut Date: Mon, 27 Nov 2017 04:45:46 +0000 (+0100) Subject: ARM: rmobile: Zap checkboard on Gen3 X-Git-Tag: v2018.01-rc1~26^2~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ef5f1979ffd85bfbf5b32faf823e2f1129208c1e;p=u-boot ARM: rmobile: Zap checkboard on Gen3 The checkboard() function showing hard-coded board model for which the U-Boot was built is superseded on Gen3 by show_board_info() displaying the Model from device tree. Add small ifdef to stop compiling the function into U-Boot. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- diff --git a/arch/arm/mach-rmobile/board.c b/arch/arm/mach-rmobile/board.c index d91bc26703..bdb353062f 100644 --- a/arch/arm/mach-rmobile/board.c +++ b/arch/arm/mach-rmobile/board.c @@ -8,8 +8,10 @@ #include #include +#ifndef CONFIG_RCAR_GEN3 int checkboard(void) { printf("Board: %s\n", sysinfo.board_string); return 0; } +#endif