blob: b8042b5ce1935008a10d19ef9e67f02a69b804ac [file] [log] [blame]
Eddie Jamesce042fe2020-01-28 10:25:13 -06001[Unit]
2Description=Set the SPI mux
3ConditionPathExists=!/run/openbmc/chassis@0-on
Andrew Geissler68dc6b32020-11-17 13:59:14 -06004After=op-reset-chassis-running@0.service
Andrew Geisslerc056f6a2020-11-17 13:46:33 -06005After=op-wait-power-off@0.service
Eddie Jamesce042fe2020-01-28 10:25:13 -06006
7[Service]
Eddie Jamese62ca932020-07-30 11:32:21 -05008ExecStartPre=@bindir@/openpower-proc-control cfamReset
9ExecStartPre=@bindir@/openpower-proc-control scanFSI
Eddie Jamesce042fe2020-01-28 10:25:13 -060010ExecStart=@bindir@/openpower-proc-control setSPIMux
Eddie Jamese62ca932020-07-30 11:32:21 -050011ExecStartPost=@bindir@/openpower-proc-control scanFSI
Eddie Jamesce042fe2020-01-28 10:25:13 -060012SyslogIdentifier=openpower-proc-control
13Type=oneshot
Eddie Jamesce042fe2020-01-28 10:25:13 -060014
15[Install]
16WantedBy=multi-user.target
Andrew Geisslerc056f6a2020-11-17 13:46:33 -060017WantedBy=obmc-chassis-poweroff@0.target