summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2020-10-09 17:06:28 -0600
committerTim Wawrzynczak <twawrzynczak@chromium.org>2020-10-30 15:25:06 +0000
commitc70505acee27c7efad4eaa6d18542f794ff98298 (patch)
tree61e61e5d59109a1ffac83c5fabeb73fe62d04746 /src/include
parent24b4af668b3f3995a5844560ce1885d30d8d8bfd (diff)
fw_config: Make fw_config_get() public
Further patches will make use of this raw 64-bit value. Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Change-Id: I161893c09da6a44265299f6ae3c3a81249a96084 Reviewed-on: https://review.coreboot.org/c/coreboot/+/46604 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/fw_config.h7
1 files changed, 7 insertions, 0 deletions
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
@@ -33,6 +33,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.
*