diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-08-16 08:41:57 +0300 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-09-16 09:57:44 +0300 |
commit | b3fd2126dc8114d648b1e769b9fa621e3537bf48 (patch) | |
tree | 48214c2ebac31f992003ffd25eb9d410eb0f293c /arch/x86/include/asm/fsp | |
parent | 5df91f1c82af1b2a87a1e028de7ddd092c313655 (diff) | |
download | u-boot-b3fd2126dc8114d648b1e769b9fa621e3537bf48.tar.xz |
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')
-rw-r--r-- | arch/x86/include/asm/fsp/fsp_infoheader.h | 9 |
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 |