[PATCH 08/19] ARM: renesas: Rename rmobile_cpuinfo_idx() to renesas_cpuinfo_idx()
Marek Vasut
marek.vasut+renesas at mailbox.org
Tue Feb 27 17:05:48 CET 2024
Rename rmobile_cpuinfo_idx() to renesas_cpuinfo_idx() because all
the chips are made by Renesas, while only a subset of them is from
the R-Mobile line.
Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
---
Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
Cc: Paul Barker <paul.barker.ct at bp.renesas.com>
Cc: Tom Rini <trini at konsulko.com>
---
arch/arm/mach-rmobile/cpu_info.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-rmobile/cpu_info.c b/arch/arm/mach-rmobile/cpu_info.c
index 9c5ea4e6cd5..3790ffd0a81 100644
--- a/arch/arm/mach-rmobile/cpu_info.c
+++ b/arch/arm/mach-rmobile/cpu_info.c
@@ -81,7 +81,7 @@ static const struct {
{ 0x0, "CPU" },
};
-static int rmobile_cpuinfo_idx(void)
+static int renesas_cpuinfo_idx(void)
{
u32 cpu_type = renesas_get_cpu_type();
int i;
@@ -104,7 +104,7 @@ static const u8 *get_cpu_name(int idx)
#ifdef CONFIG_ARCH_MISC_INIT
int arch_misc_init(void)
{
- int i, idx = rmobile_cpuinfo_idx();
+ int i, idx = renesas_cpuinfo_idx();
const u8 *cpu_name = get_cpu_name(idx);
char cpu[10] = { 0 };
@@ -119,7 +119,7 @@ int arch_misc_init(void)
int print_cpuinfo(void)
{
- int i = rmobile_cpuinfo_idx();
+ int i = renesas_cpuinfo_idx();
if (rmobile_cpuinfo[i].cpu_type == RENESAS_CPU_TYPE_R8A7796 &&
renesas_get_cpu_rev_integer() == 1 &&
--
2.43.0
More information about the U-Boot
mailing list