aboutsummaryrefslogtreecommitdiff
path: root/hw/fsi-master.c
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2017-09-05 15:51:54 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-09-05 17:56:22 +1000
commit306530bdd76d832590b60e433d59f9e7263c6895 (patch)
treea593bdafc133f51bacedd83744ad2648ae829578 /hw/fsi-master.c
parente154f7fd19849c54314f7b438b32616a239fd206 (diff)
downloadskiboot-306530bdd76d832590b60e433d59f9e7263c6895.zip
skiboot-306530bdd76d832590b60e433d59f9e7263c6895.tar.gz
skiboot-306530bdd76d832590b60e433d59f9e7263c6895.tar.bz2
hw/fsi-master: Fix whitespace before mfsi_opb_write calls
Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Michael Neuling <mikey@neuling.org> Reviewed-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/fsi-master.c')
-rw-r--r--hw/fsi-master.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/hw/fsi-master.c b/hw/fsi-master.c
index 4a16deb..dadc777 100644
--- a/hw/fsi-master.c
+++ b/hw/fsi-master.c
@@ -368,7 +368,7 @@ static int64_t mfsi_master_cleanup(struct mfsi *mfsi, uint32_t port)
/* Perform error reset on Centaur fsi slave: */
/* write 0x4000000 to addr=834 */
- opb_stat = mfsi_opb_write(mfsi, port_base + FSI_SLRES, 0x04000000);
+ opb_stat = mfsi_opb_write(mfsi, port_base + FSI_SLRES, 0x04000000);
if (opb_stat) {
mfsi_log(PR_ERR, mfsi,
" OPB stat 0x%016llx writing reset to FSI slave\n",
@@ -383,7 +383,7 @@ static int64_t mfsi_master_cleanup(struct mfsi *mfsi, uint32_t port)
*
* XXX BenH: Should that be done by the upper FSI XSCOM layer ?
*/
- opb_stat = mfsi_opb_write(mfsi, port_base + FSI2PIB_STATUS, 0xFFFFFFFF);
+ opb_stat = mfsi_opb_write(mfsi, port_base + FSI2PIB_STATUS, 0xFFFFFFFF);
if (opb_stat) {
mfsi_log(PR_ERR, mfsi,
" OPB stat 0x%016llx clearing FSI2PIB_STATUS\n",
@@ -394,14 +394,14 @@ static int64_t mfsi_master_cleanup(struct mfsi *mfsi, uint32_t port)
/* Need to save/restore the true/comp masks or the FSP (PRD ?) will
* get annoyed
*/
- opb_stat = mfsi_opb_read(mfsi, port_base + FSI2PIB_COMPMASK, &compmask);
+ opb_stat = mfsi_opb_read(mfsi, port_base + FSI2PIB_COMPMASK, &compmask);
if (opb_stat) {
mfsi_log(PR_ERR, mfsi,
" OPB stat 0x%016llx reading FSI2PIB_COMPMASK\n",
opb_stat);
return OPAL_HARDWARE;
}
- opb_stat = mfsi_opb_read(mfsi, port_base + FSI2PIB_TRUEMASK, &truemask);
+ opb_stat = mfsi_opb_read(mfsi, port_base + FSI2PIB_TRUEMASK, &truemask);
if (opb_stat) {
mfsi_log(PR_ERR, mfsi,
" OPB stat 0x%016llx reading FSI2PIB_TRUEMASK\n",
@@ -412,7 +412,7 @@ static int64_t mfsi_master_cleanup(struct mfsi *mfsi, uint32_t port)
/* Then, write arbitrary data to 1018 (putcfam 1006) to
* reset any pending FSI2PIB errors.
*/
- opb_stat = mfsi_opb_write(mfsi, port_base + FSI2PIB_RESET, 0xFFFFFFFF);
+ opb_stat = mfsi_opb_write(mfsi, port_base + FSI2PIB_RESET, 0xFFFFFFFF);
if (opb_stat) {
mfsi_log(PR_ERR, mfsi,
" OPB stat 0x%016llx writing FSI2PIB_RESET\n",
@@ -421,14 +421,14 @@ static int64_t mfsi_master_cleanup(struct mfsi *mfsi, uint32_t port)
}
/* Restore the true/comp masks */
- opb_stat = mfsi_opb_write(mfsi, port_base + FSI2PIB_COMPMASK, compmask);
+ opb_stat = mfsi_opb_write(mfsi, port_base + FSI2PIB_COMPMASK, compmask);
if (opb_stat) {
mfsi_log(PR_ERR, mfsi,
" OPB stat 0x%016llx writing FSI2PIB_COMPMASK\n",
opb_stat);
return OPAL_HARDWARE;
}
- opb_stat = mfsi_opb_write(mfsi, port_base + FSI2PIB_TRUEMASK, truemask);
+ opb_stat = mfsi_opb_write(mfsi, port_base + FSI2PIB_TRUEMASK, truemask);
if (opb_stat) {
mfsi_log(PR_ERR, mfsi,
" OPB stat 0x%016llx writing FSI2PIB_TRUEMASK\n",