summaryrefslogtreecommitdiff
path: root/Platform/Socionext/DeveloperBox
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-11-01 12:48:49 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2017-11-17 18:48:12 +0000
commit4499be3aa0e44a291268f88cd5ea23666a5c5158 (patch)
treeca12143e217ea7eeb737cd4832b8bc14644b3780 /Platform/Socionext/DeveloperBox
parentdb376cd398e2132ac9cbfac5daf599e181c6d7ac (diff)
downloadedk2-platforms-4499be3aa0e44a291268f88cd5ea23666a5c5158.tar.xz
Silicon/SynQuacerMemoryInitPeiLib: ignore capsules when clearing NVRAM
In preparation of adding support for setting a DIP switch to clear the EFI variable store, update the early capsule handling logic to take the boot mode into account. This is necessary for two reasons: - we override the boot mode when a capsule is detected, - the capsule detection itself involves reading a EFI variable, which we shouldn't be doing if the varstore may be in a bad state. So factor out the initial capsule check (to keep the code understandable) and only perform it if we are not booting in 'clear NVRAM' mode. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'Platform/Socionext/DeveloperBox')
0 files changed, 0 insertions, 0 deletions