From 270fece684800b72f6f4563f811a55ff45fbb520 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Fri, 24 Apr 2020 09:53:52 +0200 Subject: ArmVirtPkg/QemuFwCfgLib: allow UEFI_DRIVER modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't distribute UEFI_DRIVER modules stand-alone that were built as part of an ArmVirtQemu* platform. ArmVirtQemu* UEFI_DRIVERs are allowed to inherit platform dependencies. By enabling UEFI_DRIVERs to consume QemuFwCfgLib, we can hook fw_cfg-based NULL class libraries into UEFI drivers, e.g. in order to set dynamic PCDs. Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Per Sundstrom Cc: Philippe Mathieu-Daudé Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2681 Signed-off-by: Laszlo Ersek Message-Id: <20200424075353.8489-7-lersek@redhat.com> Reviewed-by: Ard Biesheuvel Reviewed-by: Philippe Mathieu-Daudé --- ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ArmVirtPkg') diff --git a/ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf b/ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf index 4d27d7d30b..feceed5f93 100644 --- a/ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf +++ b/ArmVirtPkg/Library/QemuFwCfgLib/QemuFwCfgLib.inf @@ -15,7 +15,7 @@ FILE_GUID = B271F41F-B841-48A9-BA8D-545B4BC2E2BF MODULE_TYPE = BASE VERSION_STRING = 1.0 - LIBRARY_CLASS = QemuFwCfgLib|DXE_DRIVER + LIBRARY_CLASS = QemuFwCfgLib|DXE_DRIVER UEFI_DRIVER CONSTRUCTOR = QemuFwCfgInitialize -- cgit v1.2.3