commit | 1eada36d06cfa40e7c9ba98fd74414c270a9e477 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Mon Mar 30 12:03:28 2020 -0700 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Mon Apr 06 17:47:26 2020 +0000 |
tree | 3d4826ee01a61cbb7e609cec121cb15b49387ee4 | |
parent | e3acae9d17a7a7fbc94bdff51ff8b2e8b238b09f [diff] [blame] |
phosphor-ipmi-fru: Add eeprom detection by OF name This allows us to provide names without hardcoding an i2c bus path. Change-Id: I402cc5e0696bf328acdfc58c222b055557930857 Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/recipes-phosphor/ipmi/phosphor-ipmi-fru/obmc-read-eeprom@.service b/recipes-phosphor/ipmi/phosphor-ipmi-fru/obmc-read-eeprom@.service index ae8c038..1486cac 100644 --- a/recipes-phosphor/ipmi/phosphor-ipmi-fru/obmc-read-eeprom@.service +++ b/recipes-phosphor/ipmi/phosphor-ipmi-fru/obmc-read-eeprom@.service
@@ -7,6 +7,7 @@ Restart=no Type=oneshot EnvironmentFile={envfiledir}/obmc/eeproms/%I +ExecStartPre={bindir}/of-name-to-eeprom.sh {envfiledir}/obmc/eeproms/%I ExecStart=/usr/bin/env phosphor-read-eeprom --eeprom $SYSFS_PATH --fruid $FRUID SyslogIdentifier=phosphor-read-eeprom