]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: renesas: Rename rmobile_cpuinfo_idx() to renesas_cpuinfo_idx()
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 27 Feb 2024 16:05:48 +0000 (17:05 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 2 Mar 2024 19:29:36 +0000 (14:29 -0500)
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@mailbox.org>
Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com>
arch/arm/mach-rmobile/cpu_info.c

index 9c5ea4e6cd53adfe3f6415f7fc9dd3f5f1fcebc9..3790ffd0a81fcf6dbfca6c8135c6ef66766bf6fe 100644 (file)
@@ -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 &&