libnvme: Add fix for usb port in mi-mctp tool

Tested: changed the mi-mctp.c file and scp the mi-mctp executable to a
bmc https://paste.googleplex.com/5301362604769280

The issue with last implementation is the logic to check port type is
based the array size and the port type id being 0, 1, 2, 3 as continuous
numbers, which make the usb port type id 0x10 misfunction. This fix is
to fill in the other port id as reserved to mitigate the issue.

Google-Bug-Id: 462646252
Change-Id: I406e79efa5b58324b22728c4fec32a07fe9ca703
Signed-off-by: Yichao Wang <wangyic@google.com>
1 file changed
tree: be6ab28f5d7610d84f9b5c448e3e8ff2aa3eb8ea
  1. classes/
  2. conf/
  3. dynamic-layers/
  4. recipes-bsp/
  5. recipes-connectivity/
  6. recipes-core/
  7. recipes-devtools/
  8. recipes-extended/
  9. recipes-google/
  10. recipes-kernel/
  11. recipes-phosphor/
  12. recipes-support/
  13. recipes-tpm1/
  14. recipes-tpm2/
  15. LICENSE
  16. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.