summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2021-10-13 09:23:33 +0300
committerWilliam A. Kennington III <wak@google.com>2021-10-14 01:26:38 +0300
commit8924a621dbc7cadf57e882db6583cdc20af2b1dc (patch)
treecd83a2e277e7a58a30e4bd4260a8d5c5f3d3edc3
parenta3a8ca972abf4f66788b14cf65bcbc62d6f6af0c (diff)
downloadopenbmc-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.in2
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