aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-09-10 13:51:13 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-09-10 13:53:15 +1000
commit410c036927e4510f4ca82fb96db79354836ad6de (patch)
tree8ce5fe42b2182812786780e12b85296d087440ef /hw
parent1d31ae31aabae692484dc8c2e78f84dfa06aee99 (diff)
downloadskiboot-410c036927e4510f4ca82fb96db79354836ad6de.zip
skiboot-410c036927e4510f4ca82fb96db79354836ad6de.tar.gz
skiboot-410c036927e4510f4ca82fb96db79354836ad6de.tar.bz2
move enum ipl_state to hw/fsp/fsp.c
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/fsp/fsp.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/hw/fsp/fsp.c b/hw/fsp/fsp.c
index 14b44fa..ab625a5 100644
--- a/hw/fsp/fsp.c
+++ b/hw/fsp/fsp.c
@@ -80,6 +80,16 @@ struct fsp {
struct fsp_iopath iopath[FSP_MAX_IOPATH];
};
+enum ipl_state {
+ ipl_initial = 0x00000000,
+ ipl_opl_sent = 0x00000001,
+ ipl_got_continue = 0x00000002,
+ ipl_got_new_role = 0x00000004,
+ ipl_got_caps = 0x00000008,
+ ipl_got_fsp_functional = 0x00000010
+};
+static enum ipl_state ipl_state = ipl_initial;
+
static struct fsp *first_fsp;
static struct fsp *active_fsp;
static u16 fsp_curseq = 0x8000;