]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: renesas: Make stub PSCI implementation available on 64bit R-Car SoCs
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Thu, 12 Dec 2024 13:36:09 +0000 (14:36 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 29 Dec 2024 15:55:31 +0000 (16:55 +0100)
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>
arch/arm/mach-renesas/Makefile
arch/arm/mach-renesas/psci-rcar64.c [moved from arch/arm/mach-renesas/psci-r8a779a0.c with 92% similarity]

index 71e12e00aba633ee6f03257555297a3af91d33ed..317fce02d2bf81ef3a5219ae9eab4baa3f9fa8f8 100644 (file)
@@ -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
similarity index 92%
rename from arch/arm/mach-renesas/psci-r8a779a0.c
rename to arch/arm/mach-renesas/psci-rcar64.c
index b6c49e731f9db927cdcba950c05fd7e79dcae8ae..a230692c9e046ee89a78209fd1d615dc3e6cb3d8 100644 (file)
@@ -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>