Add cleanupPcie to openpower-proc-control
This disables the drivers and receiver in the
PCIE root control 1 register as follows:
BIT NAME VALUE
19 TP_RI_DC_B 0b0
20 TP_DI1_DC_B 0b0
21 TP_DI2_DC_B 0b0
This should be run on a power off.
Change-Id: I6e027260f78a3fc451a45832f6f9bcf9afc8c3b9
Signed-off-by: Anthony Wilson <wilsonan@us.ibm.com>
diff --git a/p9_cfam.hpp b/p9_cfam.hpp
index 43bbaa5..19b6e33 100644
--- a/p9_cfam.hpp
+++ b/p9_cfam.hpp
@@ -22,6 +22,7 @@
static constexpr uint16_t P9_HB_MBX5_REG = 0x283C;
static constexpr uint16_t P9_SCRATCH_REGISTER_8 = 0x283F;
static constexpr uint16_t P9_ROOT_CTRL8 = 0x2918;
+static constexpr uint16_t P9_ROOT_CTRL1_CLEAR = 0x2931;
}
}
}