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 5962D7803CE for ; Tue, 30 Jul 2024 15:08:01 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=AorYe84T9eqjW7wYQsGxeUcGZpLC/hZiiXJwp7cgxwM=; 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=1722352080; v=1; b=QoVQaui8f3vTZstNCgS8FJquGp3c/SVdPHB8Yx8IAAuYopQdQdUzVDjtbTd5qnPZd+G4QUt2 awEsCr2KFgVshLs+t5hlfaotK7KQq2lRyYpXC4YO7C7xqMvl0LGVRgGWse1WUN0P+qGTydkatjP Ify7DgTgS0SrTHeoLlIQVzjPJSaiFRkFOFCIx+pmU6XikYdAJLtElQb30nwDUYNFpILftrK0Fel +IiXpZP3dqsiK+tOPp/YnGZ/MmXUYUkh0sTJLc3mJARDY28hAWwj5aupcwl1rKAE/RbTDcr6Vml 5cE0FW+Ur7iyE51lDO1PKEmkoZeVAWlEaBy+PaWmbQTjg== X-Received: by 127.0.0.2 with SMTP id uYAWYY7687511xO6dap0faPc; Tue, 30 Jul 2024 08:07:59 -0700 X-Received: from mail-wm1-f74.google.com (mail-wm1-f74.google.com [209.85.128.74]) by mx.groups.io with SMTP id smtpd.web10.31649.1721895920081022732 for ; Thu, 25 Jul 2024 01:25:20 -0700 X-Received: by mail-wm1-f74.google.com with SMTP id 5b1f17b1804b1-42668699453so6767205e9.3 for ; Thu, 25 Jul 2024 01:25:19 -0700 (PDT) X-Gm-Message-State: Uc16qb4BvJWV9FBymOnxuXAcx7686176AA= X-Google-Smtp-Source: AGHT+IEZJ5pH4w0moyds3+Lski8r7HU5TQ0MFZtbc8hyzZYjw2nvtSMc4hOV0BrMPlkUe6f6kZJH+kyV X-Received: from palermo.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:118a]) (user=ardb job=sendgmr) by 2002:a05:600c:b8d:b0:425:671d:cef6 with SMTP id 5b1f17b1804b1-42806bdc7a5mr25675e9.4.1721895918077; Thu, 25 Jul 2024 01:25:18 -0700 (PDT) Date: Thu, 25 Jul 2024 10:24:55 +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-5-ardb+git@google.com> Subject: [edk2-devel] [PATCH edk2-platforms 04/11] Platform/ARM: Switch to generic ArmPsciResetSystemLib From: "Ard Biesheuvel via groups.io" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Sami Mujawar , Thomas Abraham 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=QoVQaui8; 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 the ARM platforms to the generic ArmPsciResetSystemLib, and drop the dependency on ArmSmcPsciResetSystemLib, which is deprecated and will be removed. Cc: Sami Mujawar Cc: Thomas Abraham Signed-off-by: Ard Biesheuvel --- Platform/ARM/SgiPkg/SgiPlatform.dsc.inc | 3 ++- Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc b/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc index 1090fbe2a1fc..a793e96f8b0f 100644 --- a/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc +++ b/Platform/ARM/SgiPkg/SgiPlatform.dsc.inc @@ -39,7 +39,8 @@ [LibraryClasses.common] # NOR flash identification support NorFlashInfoLib|EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.inf HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf - ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf + ResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf + ArmMonitorLib|ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.inf TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf diff --git a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc index f7f7b39bbf58..8b9be9e0d372 100644 --- a/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc +++ b/Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc @@ -97,7 +97,8 @@ [LibraryClasses.common] NorFlashPlatformLib|Platform/ARM/VExpressPkg/Library/NorFlashArmVExpressLib/NorFlashArmVExpressLib.inf # NOR flash identification support NorFlashInfoLib|EmbeddedPkg/Library/NorFlashInfoLib/NorFlashInfoLib.inf - ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf + ResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf + ArmMonitorLib|ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.inf # ARM PL031 RTC Driver RealTimeClockLib|ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf -- 2.46.0.rc1.232.g9752f9e123-goog -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120086): https://edk2.groups.io/g/devel/message/120086 Mute This Topic: https://groups.io/mt/107628950/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-