From: Marek Vasut Date: Thu, 12 Dec 2024 13:36:09 +0000 (+0100) Subject: arm64: renesas: Make stub PSCI implementation available on 64bit R-Car SoCs X-Git-Tag: v2025.04-rc1~17^2~25^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67440c8642d23cc9c4780bf20e5ce932c65c01b9;p=pandora-u-boot.git arm64: renesas: Make stub PSCI implementation available on 64bit R-Car SoCs 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 --- 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