summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2017-11-27 05:45:46 +0100
committerMarek Vasut <marek.vasut+renesas@gmail.com>2017-11-30 02:34:20 +0100
commitef5f1979ffd85bfbf5b32faf823e2f1129208c1e (patch)
treeda9427edd87e74fc1af7138da1bd3c253a5a2271
parentbee22aa8227100645b77ef75dfbd70c1b70666ae (diff)
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 <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-rw-r--r--arch/arm/mach-rmobile/board.c2
1 files changed, 2 insertions, 0 deletions
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 <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