blob: 27be21b54ae501cf739420498465c8f1d7bd36c6 [file] [log] [blame]
Eddie Jamesb5508d72018-05-02 15:57:23 -05001#include "occ_device.hpp"
2#include "occ_bus.hpp"
3
4namespace open_power
5{
6namespace occ
7{
8
9fs::path Bus::bindPath = fs::path(OCC_BUS_PATH) / "bind";
10fs::path Bus::unBindPath = fs::path(OCC_BUS_PATH) / "unbind";
11
12void Bus::reset() const
13{
14#ifndef I2C_OCC
15 Device::write(unBindPath, config);
16 Device::write(bindPath, config);
17#endif
18}
19
20} // namespace occ
21} // namespace open_power