1 | /** @file
|
---|
2 | Provides JEDEC JEP-106 Manufacturer functions.
|
---|
3 |
|
---|
4 | Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.<BR>
|
---|
5 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 |
|
---|
7 | **/
|
---|
8 |
|
---|
9 | #ifndef JEDEC_JEP106_LIB_H_
|
---|
10 | #define JEDEC_JEP106_LIB_H_
|
---|
11 |
|
---|
12 | /**
|
---|
13 | Looks up the JEP-106 manufacturer.
|
---|
14 |
|
---|
15 | @param Code Last non-zero byte of the manufacturer's ID code.
|
---|
16 | @param ContinuationBytes Number of continuation bytes indicated in JEP-106.
|
---|
17 |
|
---|
18 | @return The manufacturer string, or NULL if an error occurred or the
|
---|
19 | combination of Code and ContinuationBytes are not valid.
|
---|
20 |
|
---|
21 | **/
|
---|
22 | CONST CHAR8 *
|
---|
23 | EFIAPI
|
---|
24 | Jep106GetManufacturerName (
|
---|
25 | IN UINT8 Code,
|
---|
26 | IN UINT8 ContinuationBytes
|
---|
27 | );
|
---|
28 |
|
---|
29 | #endif /* JEDEC_JEP106_LIB_H_ */
|
---|