summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/fw_config.h7
-rw-r--r--src/lib/fw_config.c7
2 files changed, 8 insertions, 6 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.
*
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;