Commit 5c1d5357 authored by Marek Vasut's avatar Marek Vasut
Browse files

rcar_gen3: drivers: pwrc: Add D3 support



The D3 SoC has one CPU core, just return 1 as a CPU number.
Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@gmail.com>
parent 90ff8ba6
......@@ -737,6 +737,12 @@ uint32_t rcar_pwrc_get_mpidr_cluster(uint64_t mpidr)
return c;
}
#if RCAR_LSI == RCAR_D3
uint32_t rcar_pwrc_get_cpu_num(uint32_t c)
{
return 1;
}
#else
uint32_t rcar_pwrc_get_cpu_num(uint32_t c)
{
uint32_t reg = mmio_read_32(RCAR_PRR);
......@@ -768,6 +774,7 @@ count_ca57:
done:
return count;
}
#endif
int32_t rcar_pwrc_cpu_on_check(uint64_t mpidr)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment