diff options
author | Subrata Banik <subrata.banik@intel.com> | 2018-01-23 16:31:03 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2018-01-31 05:57:16 +0000 |
commit | 73b67dcee8428b1ad824bedd79a52ba9dc6e9aae (patch) | |
tree | 97fa8aaf6dbd767c5054c08ca4d96beb8adbeef6 /src/drivers/intel/fsp2_0/include/fsp | |
parent | df74577e99d895a29e5b1b803b2058ea656803ec (diff) | |
download | coreboot-73b67dcee8428b1ad824bedd79a52ba9dc6e9aae.tar.xz |
drivers/intel/fsp2_0: Add support to display FSP version info Hob
This patch locates FSP FVI hob in order to extract all firmware
ingredient version information.
So far this feature is only supported for CannonLake SoC onwards.
Change-Id: Ib749e49a9f263d85947b60d4c445faf8c37f5931
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/23386
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/intel/fsp2_0/include/fsp')
-rw-r--r-- | src/drivers/intel/fsp2_0/include/fsp/soc_binding.h | 3 | ||||
-rw-r--r-- | src/drivers/intel/fsp2_0/include/fsp/util.h | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/drivers/intel/fsp2_0/include/fsp/soc_binding.h b/src/drivers/intel/fsp2_0/include/fsp/soc_binding.h index 5c8b441f1b..94abe78dd1 100644 --- a/src/drivers/intel/fsp2_0/include/fsp/soc_binding.h +++ b/src/drivers/intel/fsp2_0/include/fsp/soc_binding.h @@ -26,6 +26,9 @@ #include <Base.h> #include <FspmUpd.h> #include <FspsUpd.h> +#if IS_ENABLED(CONFIG_DISPLAY_FSP_VERSION_INFO) +#include <FirmwareVersionInfoHob.h> +#endif #pragma pack(pop) diff --git a/src/drivers/intel/fsp2_0/include/fsp/util.h b/src/drivers/intel/fsp2_0/include/fsp/util.h index ecbd7faf92..eeca491e88 100644 --- a/src/drivers/intel/fsp2_0/include/fsp/util.h +++ b/src/drivers/intel/fsp2_0/include/fsp/util.h @@ -1,7 +1,7 @@ /* * This file is part of the coreboot project. * - * Copyright (C) 2015-2016 Intel Corp. + * Copyright (C) 2015-2018 Intel Corp. * (Written by Alexandru Gagniuc <alexandrux.gagniuc@intel.com> for Intel Corp.) * * This program is free software; you can redistribute it and/or modify @@ -77,6 +77,7 @@ const void *fsp_find_nv_storage_data(size_t *size); const void *fsp_find_smbios_memory_info(size_t *size); enum cb_err fsp_fill_lb_framebuffer(struct lb_framebuffer *framebuffer); int fsp_find_range_hob(struct range_entry *re, const uint8_t guid[16]); +void fsp_display_fvi_version_hob(void); int fsp_find_reserved_memory(struct range_entry *re); const struct hob_resource *fsp_hob_header_to_resource( const struct hob_header *hob); |