]> git.proxmox.com Git - mirror_edk2.git/commit - BeagleBoardPkg/BeagleBoardPkg.fdf
BeagleBoardPkg: switch to use MdeModulePkg ResetSystemLib
authorLeif Lindholm <leif.lindholm@linaro.org>
Mon, 3 Jul 2017 15:05:04 +0000 (16:05 +0100)
committerLeif Lindholm <leif.lindholm@linaro.org>
Mon, 3 Jul 2017 21:30:22 +0000 (22:30 +0100)
commitfb5a64de3a8be8482c3173f85cddda5ae204fe40
tree34ce5415bb811a327b141f5636a022b26ce568a7
parent7b1dc6c569a88ab85af5f7462aa63ea1f898276a
BeagleBoardPkg: switch to use MdeModulePkg ResetSystemLib

The BeagleBoard port used EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
for its reset handling. With the arrival
MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe.inf

As part of this, change BeagleBoardPkg/Library/ResetSystemLib to be an
implementation of ResetSystemLib instead of the previous
EfiResetSystemLib.

Wire all reset variants to ResetCold, except for ResetShutdown and
EnterS3WithImmediateWake, which return immediately.

Note: this ResetSystemLib never supported being called after
ExitBootservices, and this shortcoming is not addressed here.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
BeagleBoardPkg/BeagleBoardPkg.dsc
BeagleBoardPkg/BeagleBoardPkg.fdf
BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.c
BeagleBoardPkg/Library/ResetSystemLib/ResetSystemLib.inf