]> git.sur5r.net Git - u-boot/commitdiff
ARM: rmobile: Zap checkboard on Gen3
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Mon, 27 Nov 2017 04:45:46 +0000 (05:45 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 30 Nov 2017 01:34:20 +0000 (02:34 +0100)
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 <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
arch/arm/mach-rmobile/board.c

index d91bc26703a84e875c613255fc4bf3fe1bd39d22..bdb353062fe02220ba42c7eb4f597ffc71c9a050 100644 (file)
@@ -8,8 +8,10 @@
 #include <asm/io.h>
 #include <asm/arch/sys_proto.h>
 
+#ifndef CONFIG_RCAR_GEN3
 int checkboard(void)
 {
        printf("Board: %s\n", sysinfo.board_string);
        return 0;
 }
+#endif