OSDN Git Service

i2c/smbus_eeprom: Add feature bit to SPD data
authorBALATON Zoltan <balaton@eik.bme.hu>
Thu, 15 Jul 2021 16:50:44 +0000 (18:50 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 29 Jul 2021 00:59:49 +0000 (10:59 +1000)
commit793abe24aa9c6ad1a06dee091fa4dd4479fef482
tree2eeb6857ac88505306dcdaa6b93ffcf688033434
parent6ebc0048dd8ff93c2847739599afa630f3d9dabd
i2c/smbus_eeprom: Add feature bit to SPD data

Add the differential clock input feature bit to the generated SPD
data. Most guests don't seem to care but pegasos2 firmware version 1.2
checks for this bit and stops with unsupported module type error if
it's not present. Since this feature is likely present on real memory
modules add it in the general code rather than patching the generated
SPD data in pegasos2 board only.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <19d42ade295d5297aa624a9eb757b8df18cf64d6.1626367844.git.balaton@eik.bme.hu>
Acked-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/i2c/smbus_eeprom.c