smbios-mdr: Change MemoryInfo.attributes type to uint8_t

PDI changed the type of `attributes` from uint8_t to size_t.
However the SMBIOS spec only reserved 1 byte for this field.
So we need to keep `attribute` in 1 byte otherwise the field after
`attribute` will be shifted.

Tested:
Before
    .MemorySizeInKB property u 1258291200

After
    .MemorySizeInKB property u 33554432

Patch Tracking Bug: b/296189510
Upstream info / review:
https://gerrit.openbmc.org/c/openbmc/smbios-mdr/+/66040
Upstream-Status: Submitted
Justification: Pending upstream review

Google-Bug-Id: b/296115559
Change-Id: I35551fd251d97a18d7529e581e2ef3b570dd20f7
Signed-off-by: Michael Shen <gpgpgp@google.com>
2 files changed
tree: b3bba81d129bf5e4c025baae9206933abb783579
  1. conf/
  2. dynamic-layers/
  3. meta-nuvoton-npcm8xx/
  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. LICENSE
  13. 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.