From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Marcin Wojtas <mw@semihalf.com>
Cc: edk2-devel-01 <edk2-devel@lists.01.org>,
Leif Lindholm <leif.lindholm@linaro.org>
Subject: Re: [PATCH] Platforms/Marvell: switch to generic ResetSystemRuntimeDxe
Date: Tue, 4 Jul 2017 12:10:47 +0100 [thread overview]
Message-ID: <CAKv+Gu9k-ikEKrNDyZqQYQ4jux4uG9D1ZV7Ph5TgQ6M75K5j8w@mail.gmail.com> (raw)
In-Reply-To: <CAPv3WKd4i_J-45hm=tggpKck0WHK+zoL-7OzFRasj8erXCAO9A@mail.gmail.com>
On 4 July 2017 at 12:04, Marcin Wojtas <mw@semihalf.com> wrote:
> Hi,
>
> 2017-07-04 13:00 GMT+02:00 Ard Biesheuvel <ard.biesheuvel@linaro.org>:
>> Switch to the generic implementation of the ResetSystem() runtime
>> service call, which is preferred over the one in EmbeddedPkg. This
>> involves selecting another DXE runtime driver, and morphing the
>> existing EfiResetSystemLib implementation into a ResetSystemLib one
>> (which is what the generic driver depends on for platform glue)
>>
>> Contributed-under: TianoCore Contribution Agreement 1.0
>> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>> ---
>> Platforms/Marvell/Armada/Armada.dsc.inc | 4 +-
>> Platforms/Marvell/Armada/Armada70x0.fdf | 2 +-
>> Platforms/Marvell/Library/ResetSystemLib/MvResetSystemLib.c | 110 ++++++++++++++------
>> Platforms/Marvell/Library/ResetSystemLib/MvResetSystemLib.inf | 7 +-
>> 4 files changed, 87 insertions(+), 36 deletions(-)
>>
>> diff --git a/Platforms/Marvell/Armada/Armada.dsc.inc b/Platforms/Marvell/Armada/Armada.dsc.inc
>> index 475fc6d05379..32eaa2942564 100644
>> --- a/Platforms/Marvell/Armada/Armada.dsc.inc
>> +++ b/Platforms/Marvell/Armada/Armada.dsc.inc
>> @@ -94,7 +94,7 @@
>> # Reset and Time libraries
>> EfiTimeBaseLib|OpenPlatformPkg/Library/EfiTimeBaseLib/EfiTimeBaseLib.inf
>> RealTimeClockLib|OpenPlatformPkg/Platforms/Marvell/Armada/Library/RealTimeClockLib/RealTimeClockLib.inf
>> - EfiResetSystemLib|OpenPlatformPkg/Platforms/Marvell/Library/ResetSystemLib/MvResetSystemLib.inf
>> + ResetSystemLib|OpenPlatformPkg/Platforms/Marvell/Library/ResetSystemLib/MvResetSystemLib.inf
>
> Isn't it better to switch to generic PSCI:
> EfiResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf
> and remove MvResetSystemLib whatsoever?
>
Yes. But Leif tells me that 7040 does not support PSCI?
next prev parent reply other threads:[~2017-07-04 11:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-04 11:00 [PATCH] Platforms/Marvell: switch to generic ResetSystemRuntimeDxe Ard Biesheuvel
2017-07-04 11:04 ` Marcin Wojtas
2017-07-04 11:10 ` Ard Biesheuvel [this message]
2017-07-04 11:19 ` Marcin Wojtas
2017-07-04 11:41 ` Leif Lindholm
2017-07-04 11:47 ` Marcin Wojtas
2017-07-04 11:49 ` Ard Biesheuvel
2017-07-04 11:51 ` Marcin Wojtas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKv+Gu9k-ikEKrNDyZqQYQ4jux4uG9D1ZV7Ph5TgQ6M75K5j8w@mail.gmail.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox