Home
last modified time | relevance | path

Searched refs:eepromPath (Results 1 – 2 of 2) sorted by relevance

/openbmc/fb-ipmi-oem/src/
H A Dappcommands.cpp75 std::string eepromPath = FRU_EEPROM; in getGUID() local
86 eepromPath = ss.str(); in getGUID()
92 if (access(eepromPath.c_str(), F_OK) == -1) in getGUID()
94 std::cerr << "Unable to access: " << eepromPath << std::endl; in getGUID()
99 fd = open(eepromPath.c_str(), O_RDONLY); in getGUID()
102 std::cerr << "Unable to open: " << eepromPath << std::endl; in getGUID()
H A Doemcommands.cpp1312 std::string eepromPath = FRU_EEPROM; in setGUID() local
1323 eepromPath = ss.str(); in setGUID()
1329 if (access(eepromPath.c_str(), F_OK) == -1) in setGUID()
1331 std::cerr << "Unable to access: " << eepromPath << std::endl; in setGUID()
1336 fd = open(eepromPath.c_str(), O_WRONLY); in setGUID()
1339 std::cerr << "Unable to open: " << eepromPath << std::endl; in setGUID()