diff options
Diffstat (limited to 'arch/arm/mach-rmobile/cpu_info.c')
-rw-r--r-- | arch/arm/mach-rmobile/cpu_info.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-rmobile/cpu_info.c b/arch/arm/mach-rmobile/cpu_info.c index aa5be52dfd..b0686ed203 100644 --- a/arch/arm/mach-rmobile/cpu_info.c +++ b/arch/arm/mach-rmobile/cpu_info.c @@ -26,6 +26,7 @@ void enable_caches(void) #endif #ifdef CONFIG_DISPLAY_CPUINFO +#ifndef CONFIG_RZA1 static u32 __rmobile_get_cpu_type(void) { return 0x0; @@ -105,4 +106,11 @@ int print_cpuinfo(void) return 0; } +#else +int print_cpuinfo(void) +{ + printf("CPU: Renesas Electronics RZ/A1\n"); + return 0; +} +#endif #endif /* CONFIG_DISPLAY_CPUINFO */ |