summaryrefslogtreecommitdiffstats
path: root/p9_cfam.hpp
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2017-05-18 15:35:40 -0500
committerAndrew Geissler <andrewg@us.ibm.com>2017-06-01 18:35:52 -0500
commit2548c7a35ab2ac8d8d73b8b8f5145d64f248ebe1 (patch)
treef7e020ee7cbd6d42340d6a130f922c20e5f7c75f /p9_cfam.hpp
parent7ce535cb8cb9e98e64eb307d060e9a6ebf428116 (diff)
downloadopenpower-proc-control-2548c7a35ab2ac8d8d73b8b8f5145d64f248ebe1.tar.gz
openpower-proc-control-2548c7a35ab2ac8d8d73b8b8f5145d64f248ebe1.zip
Set SBE seeprom boot side
The default side for the SBE to boot from is side 0, which is indicated by a 0 in bit 17 of cfam 0x2808. When the boot count goes to 1 (the last before giving up), the start_host logic will switch over to side 1 for the SBE to boot from. Resolves openbmc/openbmc#1467 Change-Id: I61aa22939baa4cde38c8716429b6ca55f7c850bd Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'p9_cfam.hpp')
-rw-r--r--p9_cfam.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/p9_cfam.hpp b/p9_cfam.hpp
index d8fa5ff..07b251d 100644
--- a/p9_cfam.hpp
+++ b/p9_cfam.hpp
@@ -11,6 +11,7 @@ static constexpr uint16_t P9_LL_MODE_REG = 0x0840;
static constexpr uint16_t P9_FSI2PIB_INTERRUPT = 0x100B;
static constexpr uint16_t P9_FSI2PIB_TRUE_MASK = 0x100D;
static constexpr uint16_t P9_CBS_CS = 0x2801;
+static constexpr uint16_t P9_SBE_CTRL_STATUS = 0x2808;
static constexpr uint16_t P9_ROOT_CTRL0 = 0x2810;
static constexpr uint16_t P9_PERV_CTRL0 = 0x281A;
static constexpr uint16_t P9_SCRATCH_REGISTER_8 = 0x283F;
OpenPOWER on IntegriCloud