public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH edk2-platforms 0/5] RPi: Drop EmbeddedPkg reset runtime
@ 2024-07-25 10:43 Ard Biesheuvel via groups.io
  2024-07-25 10:43 ` [edk2-devel] [PATCH edk2-platforms 1/5] Platform/RaspberryPi/VarBlockServiceDxe: Refactor DumpVars event handler Ard Biesheuvel via groups.io
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Ard Biesheuvel via groups.io @ 2024-07-25 10:43 UTC (permalink / raw)
  To: devel; +Cc: Ard Biesheuvel, Leif Lindholm, Jeremy Linton

From: Ard Biesheuvel <ardb@kernel.org>

The EmbeddedPkg runtime DXE is being retired in favour of the generic
one in MdeModulePkg which is actually being maintained.

RPi uses this driver and the associated EfiResetSystemLib, of which it
has an implementation with value-add for reset notification. So this
logic needs to be moved elsewhere and hooked up to the generic protocols
that implement the same.

Build tested only.

Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Jeremy Linton <jeremy.linton@arm.com>

Ard Biesheuvel (5):
  Platform/RaspberryPi/VarBlockServiceDxe: Refactor DumpVars event
    handler
  Platform/RaspberryPi/VarBlockServiceDxe: Register for reset
    notification
  Platform/RaspberryPi/PlatformBootManagerLib: Reimplement reset hook
  Platform/RaspberryPi: Switch to generic reset runtime
  Platform/RaspberryPi: Drop platform specific EfiResetSystemLib

 Platform/RaspberryPi/RaspberryPi.dec                                           |   1 -
 Platform/RaspberryPi/RPi3/RPi3.dsc                                             |   6 +-
 Platform/RaspberryPi/RPi4/RPi4.dsc                                             |   6 +-
 Platform/RaspberryPi/RPi3/RPi3.fdf                                             |   2 +-
 Platform/RaspberryPi/RPi4/RPi4.fdf                                             |   2 +-
 Platform/RaspberryPi/Drivers/VarBlockServiceDxe/VarBlockServiceDxe.inf         |   4 +-
 Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf |   6 +
 Platform/RaspberryPi/Library/ResetLib/ResetLib.inf                             |  45 ------
 Platform/RaspberryPi/Drivers/VarBlockServiceDxe/VarBlockServiceDxe.c           |  63 +++++---
 Platform/RaspberryPi/Library/PlatformBootManagerLib/PlatformBm.c               |  77 ++++++++++
 Platform/RaspberryPi/Library/ResetLib/ResetLib.c                               | 151 --------------------
 11 files changed, 138 insertions(+), 225 deletions(-)
 delete mode 100644 Platform/RaspberryPi/Library/ResetLib/ResetLib.inf
 delete mode 100644 Platform/RaspberryPi/Library/ResetLib/ResetLib.c

--
2.46.0.rc1.232.g9752f9e123-goog



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120094): https://edk2.groups.io/g/devel/message/120094
Mute This Topic: https://groups.io/mt/107628958/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-07-30 15:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-25 10:43 [edk2-devel] [PATCH edk2-platforms 0/5] RPi: Drop EmbeddedPkg reset runtime Ard Biesheuvel via groups.io
2024-07-25 10:43 ` [edk2-devel] [PATCH edk2-platforms 1/5] Platform/RaspberryPi/VarBlockServiceDxe: Refactor DumpVars event handler Ard Biesheuvel via groups.io
2024-07-25 10:43 ` [edk2-devel] [PATCH edk2-platforms 2/5] Platform/RaspberryPi/VarBlockServiceDxe: Register for reset notification Ard Biesheuvel via groups.io
2024-07-25 10:43 ` [edk2-devel] [PATCH edk2-platforms 3/5] Platform/RaspberryPi/PlatformBootManagerLib: Reimplement reset hook Ard Biesheuvel via groups.io
2024-07-25 10:43 ` [edk2-devel] [PATCH edk2-platforms 4/5] Platform/RaspberryPi: Switch to generic reset runtime Ard Biesheuvel via groups.io
2024-07-25 10:43 ` [edk2-devel] [PATCH edk2-platforms 5/5] Platform/RaspberryPi: Drop platform specific EfiResetSystemLib Ard Biesheuvel via groups.io
2024-07-25 11:38   ` Leif Lindholm
2024-07-25 12:12     ` Alexander D
2024-07-25 12:13       ` Ard Biesheuvel
2024-07-25 20:21     ` Jeremy Linton
2024-07-25 21:23       ` Ard Biesheuvel
2024-07-28 19:35         ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox