summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Library/JedecJep106Lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Library/JedecJep106Lib.h')
-rw-r--r--MdePkg/Include/Library/JedecJep106Lib.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/MdePkg/Include/Library/JedecJep106Lib.h b/MdePkg/Include/Library/JedecJep106Lib.h
new file mode 100644
index 0000000000..de8904360d
--- /dev/null
+++ b/MdePkg/Include/Library/JedecJep106Lib.h
@@ -0,0 +1,29 @@
+/** @file
+ Provides JEDEC JEP-106 Manufacturer functions.
+
+ Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.<BR>
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#ifndef JEDEC_JEP106_LIB_H_
+#define JEDEC_JEP106_LIB_H_
+
+/**
+ Looks up the JEP-106 manufacturer.
+
+ @param Code Last non-zero byte of the manufacturer's ID code.
+ @param ContinuationBytes Number of continuation bytes indicated in JEP-106.
+
+ @return The manufacturer string, or NULL if an error occurred or the
+ combination of Code and ContinuationBytes are not valid.
+
+**/
+CONST CHAR8 *
+EFIAPI
+Jep106GetManufacturerName (
+ IN UINT8 Code,
+ IN UINT8 ContinuationBytes
+ );
+
+#endif /* JEDEC_JEP106_LIB_H_ */