summaryrefslogtreecommitdiff
path: root/src/lib
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/lib
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/lib')
-rw-r--r--src/lib/fw_config.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/fw_config.c b/src/lib/fw_config.c
index 0973cbeeff..e17d40e58a 100644
--- a/src/lib/fw_config.c
+++ b/src/lib/fw_config.c
@@ -12,12 +12,7 @@
#include <stdbool.h>
#include <stdint.h>
-/**
- * fw_config_get() - Provide firmware configuration value.
- *
- * Return 64bit firmware configuration value determined for the system.
- */
-static uint64_t fw_config_get(void)
+uint64_t fw_config_get(void)
{
static uint64_t fw_config_value;
static bool fw_config_value_initialized;