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 079A6AC185A for ; Tue, 30 Jul 2024 15:08:04 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=/B3G6o3ck5uKM2V0Uc1q2b3BHWid7QI3lB4jUhnmiOU=; 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=1722352084; v=1; b=Tm3XWtNBL9TuSVDzJ/QaqZuHMUuQi1Dw9y22DJLwzVqSfCF5rLZ5W1QzE9Ep3YKji1+27YbS 1NOXSGLXthGNeDzg0eKmP9UD3ElDeB3fBg0WZK8i2CKfi8rCOVOVcrLsD0qU/b/t+Lr1Ro7RLOl B4ntmBcjNM1DjkpUAd9gYoqWqmejA1sulSAanoCJ8dzVjfsJa0PeFMgK8090Tay0/q2KurRjXqV 8AxjGB7ewkzisGvArj1aFF6mNN5Uo2pzgJr0WIjKb5ZBBQDhKxLFnS6cfEoez5e9fz2bYi9+0sn lu58nB1pJuXHO8LxpNcfEa87FSUVPUACo6Iao2zSFs7Cw== X-Received: by 127.0.0.2 with SMTP id 0wXZYY7687511x2Vul2pvb0M; Tue, 30 Jul 2024 08:08:03 -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.31648.1721895917561943967 for ; Thu, 25 Jul 2024 01:25:17 -0700 X-Received: by mail-wm1-f73.google.com with SMTP id 5b1f17b1804b1-42807f32fbbso1761245e9.0 for ; Thu, 25 Jul 2024 01:25:17 -0700 (PDT) X-Gm-Message-State: DrQAExblKoGCcHb3lAPbQvfnx7686176AA= X-Google-Smtp-Source: AGHT+IGWUrcwlFj8tYZ5+xbu7dAqwO1rcwDCjACPwkJel/qNP3H4Nic7ooiIyrglRrlLmlyy8j6ufTMj X-Received: from palermo.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:118a]) (user=ardb job=sendgmr) by 2002:a05:600c:4c16:b0:426:673a:2908 with SMTP id 5b1f17b1804b1-428054dfca5mr35215e9.5.1721895915943; Thu, 25 Jul 2024 01:25:15 -0700 (PDT) Date: Thu, 25 Jul 2024 10:24:54 +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-4-ardb+git@google.com> Subject: [edk2-devel] [PATCH edk2-platforms 03/11] Platform/AMD/Styx: 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=Tm3XWtNB; 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/AMD/OverdriveBoard/OverdriveBoard.dsc | 3 ++- Platform/LeMaker/CelloBoard/CelloBoard.dsc | 3 ++- Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc index 5a1ecfa43857..5a1fdb8bfa1f 100644 --- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc +++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc @@ -110,7 +110,8 @@ [LibraryClasses.common] # Styx specific libraries # AmdSataInit|Silicon/AMD/Styx/AmdModulePkg/Library/AmdSataInitLib/AmdSataInitLib.inf - ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf + ResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf + ArmMonitorLib|ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.inf RealTimeClockLib|Silicon/AMD/Styx/Library/RealTimeClockLib/RealTimeClockLib.inf TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf diff --git a/Platform/LeMaker/CelloBoard/CelloBoard.dsc b/Platform/LeMaker/CelloBoard/CelloBoard.dsc index bf1f2bab52bc..7b791d1635e9 100644 --- a/Platform/LeMaker/CelloBoard/CelloBoard.dsc +++ b/Platform/LeMaker/CelloBoard/CelloBoard.dsc @@ -116,7 +116,8 @@ [LibraryClasses.common] # Styx specific libraries # AmdSataInit|Silicon/AMD/Styx/AmdModulePkg/Library/AmdSataInitLib/AmdSataInitLib.inf - ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf + ResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf + ArmMonitorLib|ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.inf RealTimeClockLib|Silicon/AMD/Styx/Library/RealTimeClockLib/RealTimeClockLib.inf TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf diff --git a/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc b/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc index 1f63997df963..843d18bc746b 100644 --- a/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc +++ b/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc @@ -118,7 +118,8 @@ [LibraryClasses.common] # Styx specific libraries # AmdSataInit|Silicon/AMD/Styx/AmdModulePkg/Library/AmdSataInitLib/AmdSataInitLib.inf - ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf + ResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf + ArmMonitorLib|ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.inf RealTimeClockLib|Silicon/AMD/Styx/Library/RealTimeClockLib/RealTimeClockLib.inf TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf -- 2.46.0.rc1.232.g9752f9e123-goog -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120085): https://edk2.groups.io/g/devel/message/120085 Mute This Topic: https://groups.io/mt/107628949/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-