fru-device: update eeprom offsets back to 16 bits instead of 32/64
Previously this read would take in an 8 bit ptr representing serialized data with a fixed length of 2. Now it takes a span of the same variable and the span length (4) is used to address certain devices. This fixes the length by restoring it back to 2 or 16 bits.
Tested: eeproms of FRUs detected and loaded successfully
Platforms-Affected: All Platforms
Google-Bug-Id: 485282165
fusion2: in comments
Change-Id: I09c04b53b2c5b5e0e3439811e156864d4b27c4cb
Signed-off-by: Sam Agazaryan <samagazaryan@google.com>
1 file changed