Add extra postcode and remove critical sensor/SEL
1.Add 4-byte postcode support for AMD platform.
2.Remove critical sensor and SEL support.
Change-Id: Icb14afb4424ad03410a3a1b749036f1e6b3f3842
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
diff --git a/src/oemcommands.cpp b/src/oemcommands.cpp
index 8516e54..c721f0d 100644
--- a/src/oemcommands.cpp
+++ b/src/oemcommands.cpp
@@ -749,7 +749,7 @@
{
uint8_t* req = reinterpret_cast<uint8_t*>(request);
uint8_t* res = reinterpret_cast<uint8_t*>(response);
- uint8_t num_frames = 3;
+ uint8_t num_frames = debugCardFrameSize;
std::memcpy(res, req, SIZE_IANA_ID); // IANA ID
res[SIZE_IANA_ID] = num_frames;