diff options
author | Jason M. Bills <jason.m.bills@intel.com> | 2022-01-06 23:59:39 +0300 |
---|---|---|
committer | Jason M. Bills <jason.m.bills@intel.com> | 2022-01-06 23:59:39 +0300 |
commit | 32777eec25d2c527a62e5ffab90a3dfef35855aa (patch) | |
tree | 588a90a6fe9fb0b35c7ce23ea3bd79fa5151ccde /meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/chassis/ir38163-workaround/ir38163_workaround.sh | |
parent | 61f1ca1b31a9a1108e9e7f71e47fdc19beb0490b (diff) | |
parent | 5cc2f81c5b66da00cad24e18b0d23442af060c3f (diff) | |
download | openbmc-32777eec25d2c527a62e5ffab90a3dfef35855aa.tar.xz |
Merge tag '0.86' of firmware.bmc.openbmc.yocto.openbmc into update
Diffstat (limited to 'meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/chassis/ir38163-workaround/ir38163_workaround.sh')
-rw-r--r-- | meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/chassis/ir38163-workaround/ir38163_workaround.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/chassis/ir38163-workaround/ir38163_workaround.sh b/meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/chassis/ir38163-workaround/ir38163_workaround.sh deleted file mode 100644 index d94ea45e4..000000000 --- a/meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/chassis/ir38163-workaround/ir38163_workaround.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -e -# For one of the IR38163 device on i2c bus 5, address 0x42 -# Because the device only work when DC-ON, so when BMC during the DC-OFF state -# the device will probe fail, need the workaround for this HW design.. - -if [ "$1" == "add" ]; then - echo Add the 0x42 device on i2c bus 5.... - sleep 2 - echo 5-0042 > /sys/bus/i2c/drivers/ir38163/bind - sleep 1 -elif [ "$1" == "rm" ]; then - echo Remove the 0x42 device - sleep 2 - echo 5-0042 > /sys/bus/i2c/drivers/ir38163/unbind - sleep 1 -else - echo "$0 <add|rm>" to set state -fi - |