diff options
author | William A. Kennington III <wak@google.com> | 2021-10-13 09:23:33 +0300 |
---|---|---|
committer | William A. Kennington III <wak@google.com> | 2021-10-14 01:26:38 +0300 |
commit | 8924a621dbc7cadf57e882db6583cdc20af2b1dc (patch) | |
tree | cd83a2e277e7a58a30e4bd4260a8d5c5f3d3edc3 | |
parent | a3a8ca972abf4f66788b14cf65bcbc62d6f6af0c (diff) | |
download | openbmc-8924a621dbc7cadf57e882db6583cdc20af2b1dc.tar.xz |
meta-google: gbmc-mac-config: Use ipmi_fru_alloc
This will allow us to implement other types of FRU path lookup
mechanisms beyond the OF name one that is currently in use. This change
is fully backward compatible.
Change-Id: Icedecedc9fcaad75fa32c23142a0fd3dfa7f6c0d
Signed-off-by: William A. Kennington III <wak@google.com>
-rw-r--r-- | meta-google/recipes-google/networking/files/gbmc-mac-config.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-google/recipes-google/networking/files/gbmc-mac-config.sh.in b/meta-google/recipes-google/networking/files/gbmc-mac-config.sh.in index a3430a65e..fa2f4bffe 100644 --- a/meta-google/recipes-google/networking/files/gbmc-mac-config.sh.in +++ b/meta-google/recipes-google/networking/files/gbmc-mac-config.sh.in @@ -15,7 +15,7 @@ source /usr/share/ipmi-fru/lib.sh || exit -eeprom="$(of_name_to_eeprom '@EEPROM@')" || exit +ipmi_fru_alloc '@EEPROM@' eeprom || exit header=() read_header "$eeprom" header || exit |