smbios-mdr: Remove upstreamed patch.
Remove upstreamed patch
0004-Change-MemoryInfo.attributes-type-to-uint8_t.patch
URL:
https://github.com/openbmc/smbios-mdr/commit/21cb0e8750b76fff5860b985d8122fd653ca8a1f
Google-Bug-Id: 296189510
Change-Id: I1be4f59b22584a9302afbd5fc7b655deb72c1e77
Signed-off-by: Michael Shen <gpgpgp@google.com>
diff --git a/recipes-phosphor/smbios/smbios-mdr/0004-Change-MemoryInfo.attributes-type-to-uint8_t.patch b/recipes-phosphor/smbios/smbios-mdr/0004-Change-MemoryInfo.attributes-type-to-uint8_t.patch
deleted file mode 100644
index 1fba096..0000000
--- a/recipes-phosphor/smbios/smbios-mdr/0004-Change-MemoryInfo.attributes-type-to-uint8_t.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 94cf582c895f3765a3976efcd293834b96e0b6d6 Mon Sep 17 00:00:00 2001
-From: Michael Shen <gpgpgp@google.com>
-Date: Wed, 16 Aug 2023 09:26:05 +0000
-Subject: [PATCH] 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
-
-Change-Id: I1e2bfa78d4259c7b86a471ed880f2c5ca923bc66
-Signed-off-by: Michael Shen <gpgpgp@google.com>
----
- include/dimm.hpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/dimm.hpp b/include/dimm.hpp
-index 6be5644..a3a48be 100644
---- a/include/dimm.hpp
-+++ b/include/dimm.hpp
-@@ -168,7 +168,7 @@ struct MemoryInfo
- uint8_t serialNum;
- uint8_t assetTag;
- uint8_t partNum;
-- size_t attributes;
-+ uint8_t attributes;
- uint32_t extendedSize;
- uint16_t confClockSpeed;
- uint16_t minimumVoltage;
---
-2.35.1
-
diff --git a/recipes-phosphor/smbios/smbios-mdr_%.bbappend b/recipes-phosphor/smbios/smbios-mdr_%.bbappend
index 2e3353c..f77b790 100644
--- a/recipes-phosphor/smbios/smbios-mdr_%.bbappend
+++ b/recipes-phosphor/smbios/smbios-mdr_%.bbappend
@@ -7,7 +7,6 @@
file://0004-Save-gRPC-blob-to-file-and-restore-it-at-start.patch\
file://0005-Add-gRPC-file-module-and-fmt-to-CMakeLists.patch\
file://0006-Update-gRPC-blobs-to-make-use-of-file-support.patch\
- file://0004-Change-MemoryInfo.attributes-type-to-uint8_t.patch\
"
EXTRA_OECMAKE:append:gbmc = " -DDIMM_ONLY_LOCATOR=ON"