diff mbox series

arm64: renesas: Make stub PSCI implementation available on 64bit R-Car SoCs

Message ID 20241212133617.84336-1-marek.vasut+renesas@mailbox.org
State Accepted
Commit 67440c8642d23cc9c4780bf20e5ce932c65c01b9
Delegated to: Marek Vasut
Headers show
Series arm64: renesas: Make stub PSCI implementation available on 64bit R-Car SoCs | expand

Commit Message

Marek Vasut Dec. 12, 2024, 1:36 p.m. UTC
Make the R-Car V3U stub PSCI implementation available on 64bit R-Car SoCs.
This implementation is useful during early board bring up, where it can
supplant missing fully-featured PSCI implementation. Note that this PSCI
implementation is very basic and offers only SoC reset functionality. It
is unable to enable or disable secondary CPU cores nor does it offer any
suspend/resume functionality.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
---
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Paul Barker <paul.barker.ct@bp.renesas.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de
---
 arch/arm/mach-renesas/Makefile                           | 4 ++--
 arch/arm/mach-renesas/{psci-r8a779a0.c => psci-rcar64.c} | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)
 rename arch/arm/mach-renesas/{psci-r8a779a0.c => psci-rcar64.c} (92%)
diff mbox series

Patch

diff --git a/arch/arm/mach-renesas/Makefile b/arch/arm/mach-renesas/Makefile
index 71e12e00aba..317fce02d2b 100644
--- a/arch/arm/mach-renesas/Makefile
+++ b/arch/arm/mach-renesas/Makefile
@@ -15,8 +15,8 @@  obj-$(CONFIG_RCAR_GEN4) += cpu_info-rcar.o memmap-gen3.o
 obj-$(CONFIG_RZ_G2) += cpu_info-rzg.o
 obj-$(CONFIG_RZG2L) += cpu_info-rzg2l.o memmap-rzg2l.o
 
-ifneq ($(CONFIG_R8A779A0),)
-obj-$(CONFIG_ARMV8_PSCI) += psci-r8a779a0.o
+ifneq ($(CONFIG_RCAR_64),)
+obj-$(CONFIG_ARMV8_PSCI) += psci-rcar64.o
 endif
 
 OBJCOPYFLAGS_u-boot-spl.srec := -O srec
diff --git a/arch/arm/mach-renesas/psci-r8a779a0.c b/arch/arm/mach-renesas/psci-rcar64.c
similarity index 92%
rename from arch/arm/mach-renesas/psci-r8a779a0.c
rename to arch/arm/mach-renesas/psci-rcar64.c
index b6c49e731f9..a230692c9e0 100644
--- a/arch/arm/mach-renesas/psci-r8a779a0.c
+++ b/arch/arm/mach-renesas/psci-rcar64.c
@@ -1,9 +1,8 @@ 
 // SPDX-License-Identifier: GPL-2.0
 /*
- * This file implements basic PSCI support for Renesas r8a779a0 SoC
+ * This file implements basic PSCI support for Renesas R-Car 64bit SoCs
  *
  * Copyright (C) 2020 Renesas Electronics Corp.
- *
  */
 
 #include <asm/io.h>