spi-mux: ensure mux is reconfigured on chassis off

During the boot of the system, the BIOS firmware reconfigures the SPI
mux so that it has access to the P10 hardware. When the system is
powered off, need to switch the mux back over to the BMC so that it once
again has access to the devices behind the mux.

Continue to run this service as a part of the initial BMC boot and also
run it as a part of the chassis power off target. Ensure it runs after
chassis power has been removed when running during power off.

Tested:
- Verified that the service is now run when chassis power is turned off

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ia3f38a01540961fb46b38aa0477d07882826d0b6
1 file changed