summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/fsp/fsp_infoheader.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2017-08-15 22:41:57 -0700
committerBin Meng <bmeng.cn@gmail.com>2017-09-16 14:57:44 +0800
commitb3fd2126dc8114d648b1e769b9fa621e3537bf48 (patch)
tree48214c2ebac31f992003ffd25eb9d410eb0f293c /arch/x86/include/asm/fsp/fsp_infoheader.h
parent5df91f1c82af1b2a87a1e028de7ddd092c313655 (diff)
x86: fsp: Update fsp command to show spec 1.1 header
FSP spec 1.1 adds 3 new APIs and their offsets are in the header. Update the 'fsp hdr' command to show these new entries. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/fsp/fsp_infoheader.h')
-rw-r--r--arch/x86/include/asm/fsp/fsp_infoheader.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/x86/include/asm/fsp/fsp_infoheader.h b/arch/x86/include/asm/fsp/fsp_infoheader.h
index 4a4d627b28..60ce61d190 100644
--- a/arch/x86/include/asm/fsp/fsp_infoheader.h
+++ b/arch/x86/include/asm/fsp/fsp_infoheader.h
@@ -26,7 +26,14 @@ struct __packed fsp_header {
u32 fsp_tempram_init; /* tempram_init offset */
u32 fsp_init; /* fsp_init offset */
u32 fsp_notify; /* fsp_notify offset */
- u32 reserved2;
+ u32 fsp_mem_init; /* fsp_mem_init offset */
+ u32 fsp_tempram_exit; /* fsp_tempram_exit offset */
+ u32 fsp_silicon_init; /* fsp_silicon_init offset */
};
+#define FSP_HEADER_REVISION_1 1
+#define FSP_HEADER_REVISION_2 2
+
+#define FSP_ATTR_GRAPHICS_SUPPORT (1 << 0)
+
#endif