aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
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;