summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/fsp/fsp_support.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/fsp/fsp_support.h')
-rw-r--r--arch/x86/include/asm/fsp/fsp_support.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/include/asm/fsp/fsp_support.h b/arch/x86/include/asm/fsp/fsp_support.h
index 8dea2e71ea9..4ac27d26f55 100644
--- a/arch/x86/include/asm/fsp/fsp_support.h
+++ b/arch/x86/include/asm/fsp/fsp_support.h
@@ -104,6 +104,18 @@ u32 fsp_get_tseg_reserved_mem(const void *hob_list, u32 *len);
void *fsp_get_nvs_data(const void *hob_list, u32 *len);
/**
+ * fsp_get_var_nvs_data() - get FSP variable Non-volatile Storage HOB buffer
+ *
+ * @hob_list: A HOB list pointer.
+ * @len: A pointer to the NVS data buffer length.
+ * If the HOB is located, the length will be updated.
+ *
+ * @return NULL: Failed to find the NVS HOB.
+ * @return others: FSP NVS data buffer pointer.
+ */
+void *fsp_get_var_nvs_data(const void *hob_list, u32 *len);
+
+/**
* fsp_get_graphics_info() - retrieves graphics information.
*
* @hob_list: A HOB list pointer.