diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2024-12-12 14:36:09 +0100 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2024-12-29 16:55:31 +0100 |
commit | 67440c8642d23cc9c4780bf20e5ce932c65c01b9 (patch) | |
tree | b52223288aa92cf46d129724be3e8b09cc1e1c5d | |
parent | 94255316db0b8c0b8f5c604419221039261e641a (diff) |
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 <marek.vasut+renesas@mailbox.org>
-rw-r--r-- | arch/arm/mach-renesas/Makefile | 4 | ||||
-rw-r--r-- | arch/arm/mach-renesas/psci-rcar64.c (renamed from arch/arm/mach-renesas/psci-r8a779a0.c) | 3 |
2 files changed, 3 insertions, 4 deletions
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 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> |