]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-rmobile/board.c
apalis_t30: describe pcie ports
[u-boot] / arch / arm / mach-rmobile / board.c
index bdb353062fe02220ba42c7eb4f597ffc71c9a050..8a2d3ce621dd10321d51ddf8eb4bc7f4dd539af8 100644 (file)
@@ -1,17 +1,15 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2012 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
  * (C) Copyright 2012 Renesas Solutions Corp.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 #include <common.h>
 #include <asm/io.h>
-#include <asm/arch/sys_proto.h>
 
-#ifndef CONFIG_RCAR_GEN3
+#ifdef CONFIG_ARCH_RMOBILE_BOARD_STRING
 int checkboard(void)
 {
-       printf("Board: %s\n", sysinfo.board_string);
+       printf("Board: %s\n", CONFIG_ARCH_RMOBILE_BOARD_STRING);
        return 0;
 }
 #endif