diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-rmobile/board.c | 5 | ||||
-rw-r--r-- | arch/arm/mach-rmobile/include/mach/sys_proto.h | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/mach-rmobile/board.c b/arch/arm/mach-rmobile/board.c index bdb353062fe..b07dbfabc4a 100644 --- a/arch/arm/mach-rmobile/board.c +++ b/arch/arm/mach-rmobile/board.c @@ -6,12 +6,11 @@ */ #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 diff --git a/arch/arm/mach-rmobile/include/mach/sys_proto.h b/arch/arm/mach-rmobile/include/mach/sys_proto.h index 326f6b14815..448a0f6d522 100644 --- a/arch/arm/mach-rmobile/include/mach/sys_proto.h +++ b/arch/arm/mach-rmobile/include/mach/sys_proto.h @@ -8,9 +8,4 @@ #ifndef _SYS_PROTO_H_ #define _SYS_PROTO_H_ -struct rmobile_sysinfo { - char *board_string; -}; -extern const struct rmobile_sysinfo sysinfo; - #endif |