aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-rmobile/cpu_info.c
diff options
context:
space:
mode:
authorChris Brandt <chris.brandt@renesas.com>2017-08-23 14:53:59 -0500
committerMarek Vasut <marex@denx.de>2019-05-07 05:41:32 +0200
commit3529596442c9cf588b7b8a3e7573f0ff9d8ed350 (patch)
tree43788e18c840f67244a5cfd6171c1e1625f3f313 /arch/arm/mach-rmobile/cpu_info.c
parentb5b665679453fe8ad3b3c67b44c88d2e812ca45c (diff)
downloadu-boot-3529596442c9cf588b7b8a3e7573f0ff9d8ed350.zip
u-boot-3529596442c9cf588b7b8a3e7573f0ff9d8ed350.tar.gz
u-boot-3529596442c9cf588b7b8a3e7573f0ff9d8ed350.tar.bz2
ARM: dts: renesas: Add RZ/A1 platform code
Add platform code and DTs for Renesas RZ/A1 R7S72100 SoC. Distinguishing feature of this SoC is that it has up to 10 MiB of on-SoC static RAM (SRAM). The DTs are imported from Linux 5.0.11, commit d5a2675b207d . Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Chris Brandt <chris.brandt@renesas.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/arm/mach-rmobile/cpu_info.c')
-rw-r--r--arch/arm/mach-rmobile/cpu_info.c8
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 aa5be52..b0686ed 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 */