audk/ArmPlatformPkg/Drivers
Ard Biesheuvel 6cf1269d95 ArmPlatformPkg: enable use of authenticated variables in NorFlashDxe
The NorFlashDxe uses an explicit 'BEFORE xxx' Depex declaration to
ensure that it is dispatched before VariableRuntimeDxe, and uses the
file GUID of the latter as 'xxx' explicitly to accomplish that.

However, when enabling UEFI Secure Boot, this breaks down since the
authenticated VariableRuntimeDxe is a completely separate driver, with
a different GUID. Also, the hardcoded dependency on gEfiVariableGuid,
which is not used under UEFI Secure Boot, needs to be factored out in
order to allow this driver to be used.

So clone NorFlashDxe.inf into NorFlashAuthenticatedDxe.inf, and fix
up the dependencies so they refer to gEfiAuthenticatedVariableGuid and
SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableRuntimeDxe.inf
instead.

Contributed-under: TianoCore Contribution Agreement 1.0
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17355 6f19259b-4bc3-4df7-8a09-765794883524
2015-05-07 15:18:14 +00:00
..
ArmTrustZone ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
LcdGraphicsOutputDxe ARM Packages: Replace tabs by spaces for indentation 2014-08-26 10:14:17 +00:00
NorFlashDxe ArmPlatformPkg: enable use of authenticated variables in NorFlashDxe 2015-05-07 15:18:14 +00:00
PL011Uart ArmPlatformPkg: detect correct pl011 fifo depth 2015-01-23 16:10:00 +00:00
PL34xDmc ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
PL35xSmc ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
PL061GpioDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
PL180MciDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
PL301Axi ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
PL310L2Cache ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
SP804TimerDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
SP805WatchdogDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00