diff options
author | Matt Spinler <spinler@us.ibm.com> | 2019-06-07 21:27:37 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-06-10 21:25:55 +0300 |
commit | c238c70a8fe8dac352e21361b8b452537dada0fe (patch) | |
tree | 89aff8483cdad8002c610d9c555693f9fbba44cd /meta-ibm/meta-witherspoon | |
parent | 80971f382416d1b111310d8ca88a31d9360edbee (diff) | |
download | openbmc-c238c70a8fe8dac352e21361b8b452537dada0fe.tar.xz |
Swift: run avsbus-disable.sh through dos2unix
It had the '^M' which which prevented the BMC from running it.
(From meta-ibm rev: 06b094f1a87a61da756323ce5ea3e75d6f4c709f)
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I42dfc1a8d3af5c8f949003775b3076218de9035a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm/meta-witherspoon')
-rw-r--r-- | meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/swift/avsbus-disable.sh | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/swift/avsbus-disable.sh b/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/swift/avsbus-disable.sh index 1228ff9451..61d8516bcc 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/swift/avsbus-disable.sh +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/swift/avsbus-disable.sh @@ -1,18 +1,18 @@ -#!/bin/sh
-# For each AVSBus attached rail go back to using VOUT_COMMAND (PMBus voltage)
-# instead of AVSBus and do *not* update VOUT_COMMAND with last voltage sent via
-# AVSBus. This should be run after power-down. This is platform specific
-# settings that must be updated/removed if not Swift.
-
-i2cset -y 9 0x70 0x00 0x00 b # VDD 0 - PAGE set
-i2cset -y 9 0x70 0x01 0x80 b # VDD 0
-i2cset -y 9 0x71 0x00 0x01 b # VCS 0 - PAGE set
-i2cset -y 9 0x71 0x01 0x80 b # VCS 0
-i2cset -y 9 0x71 0x00 0x00 b # VDN 0 - PAGE set
-i2cset -y 9 0x71 0x01 0x80 b # VDN 0
-i2cset -y 10 0x70 0x00 0x00 b # VDD 1 - PAGE set
-i2cset -y 10 0x70 0x01 0x80 b # VDD 1
-i2cset -y 10 0x71 0x00 0x01 b # VCS 1 - PAGE set
-i2cset -y 10 0x71 0x01 0x80 b # VCS 1
-i2cset -y 10 0x71 0x00 0x00 b # VDN 1 - PAGE set
-i2cset -y 10 0x71 0x01 0x80 b # VDN 1
+#!/bin/sh +# For each AVSBus attached rail go back to using VOUT_COMMAND (PMBus voltage) +# instead of AVSBus and do *not* update VOUT_COMMAND with last voltage sent via +# AVSBus. This should be run after power-down. This is platform specific +# settings that must be updated/removed if not Swift. + +i2cset -y 9 0x70 0x00 0x00 b # VDD 0 - PAGE set +i2cset -y 9 0x70 0x01 0x80 b # VDD 0 +i2cset -y 9 0x71 0x00 0x01 b # VCS 0 - PAGE set +i2cset -y 9 0x71 0x01 0x80 b # VCS 0 +i2cset -y 9 0x71 0x00 0x00 b # VDN 0 - PAGE set +i2cset -y 9 0x71 0x01 0x80 b # VDN 0 +i2cset -y 10 0x70 0x00 0x00 b # VDD 1 - PAGE set +i2cset -y 10 0x70 0x01 0x80 b # VDD 1 +i2cset -y 10 0x71 0x00 0x01 b # VCS 1 - PAGE set +i2cset -y 10 0x71 0x01 0x80 b # VCS 1 +i2cset -y 10 0x71 0x00 0x00 b # VDN 1 - PAGE set +i2cset -y 10 0x71 0x01 0x80 b # VDN 1 |