From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 1613A94196A for ; Tue, 30 Jul 2024 15:08:14 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=X+EAgQ7gKPKAQeRtyjnJ2VdRK0gyplWVf00E9e5HwWE=; c=relaxed/simple; d=groups.io; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From:To:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20240206; t=1722352094; v=1; b=hEq+afSWnpLoxGd8Y+6GzOAtoIZoII23CA+OMFBNz41sulOABuAKWinEQFI9zdru7t9LKS6S 8MfvOFkfEvvd+ohFQjVID4GeSFinhUxK9aWzdavg03JSkHohOjvdZY0WXKzegEpmyYrbvTezfPr ufvG5AJWIrbQaBtFobjF7UE5n0boEsf6xWWD0XEeufR9uzWIhd14C8L8A58tRGDSMTs0H/0K/2e YGBuDuOKVeUPd2nMPsTOYXMAN3z3Ms5aPPGa6QTfpHUeLXMnEXHdYV+LdBvPbb/xhxUn/NYL3HC 2MrR0KPR8Vsyphezn+ma1hb9YMNVzm/TNbSU/FnOfUEZw== X-Received: by 127.0.0.2 with SMTP id 8bwdYY7687511xRlllAiQc2C; Tue, 30 Jul 2024 08:08:13 -0700 X-Received: from mail-wm1-f73.google.com (mail-wm1-f73.google.com [209.85.128.73]) by mx.groups.io with SMTP id smtpd.web10.31651.1721895924375339161 for ; Thu, 25 Jul 2024 01:25:24 -0700 X-Received: by mail-wm1-f73.google.com with SMTP id 5b1f17b1804b1-42671a6fb9dso4611795e9.3 for ; Thu, 25 Jul 2024 01:25:24 -0700 (PDT) X-Gm-Message-State: apHs4nR00L7OhHI28JXohEMrx7686176AA= X-Google-Smtp-Source: AGHT+IGPmVdiHhK33gn2WEafaawqz7HQ2jgpcV+JvuD5RDE9KBuhgjLzBiBq+DE2VXwd18j07GL0YUw6 X-Received: from palermo.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:118a]) (user=ardb job=sendgmr) by 2002:a05:600c:1d90:b0:425:5f0e:7fd3 with SMTP id 5b1f17b1804b1-42807279aa9mr21955e9.5.1721895922825; Thu, 25 Jul 2024 01:25:22 -0700 (PDT) Date: Thu, 25 Jul 2024 10:24:57 +0200 In-Reply-To: <20240725082502.1566409-1-ardb+git@google.com> Mime-Version: 1.0 References: <20240725082502.1566409-1-ardb+git@google.com> Message-ID: <20240725082502.1566409-7-ardb+git@google.com> Subject: [edk2-devel] [PATCH edk2-platforms 06/11] Platform/SynQuacer: Switch to generic ArmPsciResetSystemLib From: "Ard Biesheuvel via groups.io" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Tue, 30 Jul 2024 08:07:57 -0700 Resent-From: ardb+git@google.com Reply-To: devel@edk2.groups.io,ardb+git@google.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Type: text/plain; charset="UTF-8" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=hEq+afSW; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io From: Ard Biesheuvel The PSCI reset libraries in ArmPkg are being consolidated into a single one to reduce the maintenance burden of having multiple libraries doing the same thing in a slightly different way. Move this platform to the generic ArmPsciResetSystemLib, and drop the dependency on ArmSmcPsciResetSystemLib, which is deprecated and will be removed. Signed-off-by: Ard Biesheuvel --- Platform/Socionext/DeveloperBox/DeveloperBox.dsc | 5 +++-- Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc index 917c1532fb3c..98f9e603755c 100644 --- a/Platform/Socionext/DeveloperBox/DeveloperBox.dsc +++ b/Platform/Socionext/DeveloperBox/DeveloperBox.dsc @@ -31,6 +31,7 @@ [Defines] !include MdePkg/MdeLibs.dsc.inc [LibraryClasses] + ArmMonitorLib|ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.inf !if $(DEBUG_ON_UART1) == FALSE SerialPortLib|ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf !else @@ -148,7 +149,7 @@ [LibraryClasses.common.UEFI_APPLICATION] [LibraryClasses.common.DXE_RUNTIME_DRIVER] HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf - ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf + ResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf !if $(TARGET) != RELEASE @@ -281,7 +282,7 @@ [Components.common] !if $(TPM2_ENABLE) == TRUE MdeModulePkg/Universal/ResetSystemPei/ResetSystemPei.inf { - ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf + ResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf } SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf { diff --git a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc index 81c1210ee690..15c9bc1e912d 100644 --- a/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc +++ b/Platform/Socionext/SynQuacerEvalBoard/SynQuacerEvalBoard.dsc @@ -206,7 +206,8 @@ [LibraryClasses.common.DXE_RUNTIME_DRIVER] BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf - ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf + ResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf + ArmMonitorLib|ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.inf TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf !if $(TARGET) != RELEASE -- 2.46.0.rc1.232.g9752f9e123-goog -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120088): https://edk2.groups.io/g/devel/message/120088 Mute This Topic: https://groups.io/mt/107628952/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-