diff options
author | Tom Rini <trini@konsulko.com> | 2023-05-14 11:29:45 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-05-14 11:29:45 -0400 |
commit | 17f6e6cc499e207908b269d04cb7581d8f8f6870 (patch) | |
tree | d40f499ea8579eea1aaf581bdd11b85f98eb5b90 /arch/arm/mach-rmobile/cpu_info.c | |
parent | 177e506952a8ee34011590c4bd578d191fafb1ca (diff) | |
parent | a5b9f959439bbf5492f9a0c42c6c81a4d008ac46 (diff) |
Merge branch 'master_rzn1/rzn1' of https://source.denx.de/u-boot/custodians/u-boot-sh
- R-Car RZN1 support
Diffstat (limited to 'arch/arm/mach-rmobile/cpu_info.c')
-rw-r--r-- | arch/arm/mach-rmobile/cpu_info.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/mach-rmobile/cpu_info.c b/arch/arm/mach-rmobile/cpu_info.c index 7e7465a2c8b..71a856ea879 100644 --- a/arch/arm/mach-rmobile/cpu_info.c +++ b/arch/arm/mach-rmobile/cpu_info.c @@ -30,7 +30,7 @@ void enable_caches(void) #endif #ifdef CONFIG_DISPLAY_CPUINFO -#ifndef CONFIG_RZA1 +#if !defined(CONFIG_RZA1) && !defined(CONFIG_RZN1) __weak const u8 *rzg_get_cpu_name(void) { return 0; @@ -126,11 +126,17 @@ int print_cpuinfo(void) return 0; } -#else +#elif defined(CONFIG_RZA1) int print_cpuinfo(void) { printf("CPU: Renesas Electronics RZ/A1\n"); return 0; } +#else /* CONFIG_RZN1 */ +int print_cpuinfo(void) +{ + printf("CPU: Renesas Electronics RZ/N1\n"); + return 0; +} #endif #endif /* CONFIG_DISPLAY_CPUINFO */ |