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>
{ 0x0, "CPU" },
};
-static int rmobile_cpuinfo_idx(void)
+static int renesas_cpuinfo_idx(void)
{
u32 cpu_type = renesas_get_cpu_type();
int i;
#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 };
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 &&