summaryrefslogtreecommitdiff
path: root/FmpDevicePkg/FmpDxe/FmpDxe.h
diff options
context:
space:
mode:
authorEric Jin <eric.jin@intel.com>2019-07-26 15:48:44 +0800
committerLiming Gao <liming.gao@intel.com>2019-08-15 17:22:24 +0800
commita5944b6a13e227da23daa0ab59b5d6f4b06bb49b (patch)
treeec6facce36397326be6b5ecf56b14725eacc7f62 /FmpDevicePkg/FmpDxe/FmpDxe.h
parent11d354945c204588c98f74cfd8b6d18433d621c4 (diff)
downloadedk2-a5944b6a13e227da23daa0ab59b5d6f4b06bb49b.zip
edk2-a5944b6a13e227da23daa0ab59b5d6f4b06bb49b.tar.gz
edk2-a5944b6a13e227da23daa0ab59b5d6f4b06bb49b.tar.bz2
FmpDevicePkg/FmpDxe: Remove use of CatSprint()
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1525 The size overhead for CatSPrint() is large. This function is only used to generate variable names with HardwareInstance value appended. Use UnicodeValueToStringS() instead that is much smaller. Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Eric Jin <eric.jin@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'FmpDevicePkg/FmpDxe/FmpDxe.h')
-rw-r--r--FmpDevicePkg/FmpDxe/FmpDxe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/FmpDevicePkg/FmpDxe/FmpDxe.h b/FmpDevicePkg/FmpDxe/FmpDxe.h
index 28bfa41..150f18b 100644
--- a/FmpDevicePkg/FmpDxe/FmpDxe.h
+++ b/FmpDevicePkg/FmpDxe/FmpDxe.h
@@ -23,6 +23,7 @@
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiLib.h>
+#include <Library/PrintLib.h>
#include <Library/FmpAuthenticationLib.h>
#include <Library/FmpDeviceLib.h>
#include <Library/FmpPayloadHeaderLib.h>