summaryrefslogtreecommitdiff
path: root/meta-openbmc-machines/meta-openpower
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2017-04-07 23:38:13 +0300
committerPatrick Williams <patrick@stwcx.xyz>2017-04-13 00:27:59 +0300
commit5e01ce401ad5b2e775a62e745223a32874f89bf9 (patch)
tree723451545e630fbcab5fa580a71a090ba11f12fe /meta-openbmc-machines/meta-openpower
parent25b36e246d74a9c324aa39e9ac19a1586309897f (diff)
downloadopenbmc-5e01ce401ad5b2e775a62e745223a32874f89bf9.tar.xz
Switch FSI clock to synchronous mode on a disable
Before unloading the FSI Driver, switch the master P9's FSI clock back to synchronous mode. Change-Id: I6309ad08c48cb5f272389925ea19b8cf7f8333d0 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower')
-rw-r--r--meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-disable.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-disable.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-disable.service
index a58af0445..aa0b2e33e 100644
--- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-disable.service
+++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-disable.service
@@ -3,6 +3,7 @@ Description=Disable FSI
Conflicts=fsi-enable.service
[Service]
+ExecStart=/usr/sbin/openpower-proc-control setSyncFSIClock
ExecStart=/bin/sh -c "echo fsi-master > /sys/bus/platform/drivers/fsi-master-gpio/unbind"
Type=oneshot
RemainAfterExit=yes