1[Unit]
2Description=CFAM reset
3Wants=obmc-power-start-pre@0.target
4Before=obmc-power-start-pre@0.target
5Wants=obmc-host-start-pre@0.target
6Before=obmc-host-start-pre@0.target
7Before=fsi-scan@0.service
8Before=cfam_override@0.service
9Conflicts=obmc-host-stop@0.target
10Conflicts=obmc-chassis-poweroff@0.target
11ConditionPathExists=!/run/openbmc/mpreboot@0
12ConditionPathExists=!/run/openbmc/chassis@0-on
13
14[Service]
15RemainAfterExit=yes
16Type=oneshot
17ExecStart=/usr/bin/openpower-proc-control cfamReset
18
19[Install]
20# Will be installed in appropriate targets via bb files
21