From c70505acee27c7efad4eaa6d18542f794ff98298 Mon Sep 17 00:00:00 2001 From: Tim Wawrzynczak Date: Fri, 9 Oct 2020 17:06:28 -0600 Subject: fw_config: Make fw_config_get() public Further patches will make use of this raw 64-bit value. Signed-off-by: Tim Wawrzynczak Change-Id: I161893c09da6a44265299f6ae3c3a81249a96084 Reviewed-on: https://review.coreboot.org/c/coreboot/+/46604 Reviewed-by: Furquan Shaikh Reviewed-by: Julius Werner Tested-by: build bot (Jenkins) --- src/include/fw_config.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/include/fw_config.h') diff --git a/src/include/fw_config.h b/src/include/fw_config.h index 494ce7f389..c9ef75f929 100644 --- a/src/include/fw_config.h +++ b/src/include/fw_config.h @@ -32,6 +32,13 @@ struct fw_config { #if CONFIG(FW_CONFIG) +/** + * fw_config_get() - Provide firmware configuration value. + * + * Return 64bit firmware configuration value determined for the system. + */ +uint64_t fw_config_get(void); + /** * fw_config_probe() - Check if field and option matches. * @match: Structure containing field and option to probe. -- cgit v1.2.3