summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2023-06-15 09:16:30 +0200
committerEric Lai <eric_lai@quanta.corp-partner.google.com>2023-06-17 02:40:57 +0000
commitf6ae1a908034ad4320efba9742fbc505b993c347 (patch)
treebc4a0821911c154cc28c8169bcc668ea39487b49 /src/lib
parent4519c0d8105d32f2ede16aa4b0febddd2cd9ecfe (diff)
lib/fw_config: Make fw_config_is_provisioned() always available
Move fw_config_is_provisioned() implementation to header file and make it static inline. Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Change-Id: I2ea21b19339cd93ba78dbe25213cbfb40e012937 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75835 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/fw_config.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/fw_config.c b/src/lib/fw_config.c
index e1fbe74793..268be07b68 100644
--- a/src/lib/fw_config.c
+++ b/src/lib/fw_config.c
@@ -95,11 +95,6 @@ bool fw_config_probe(const struct fw_config *match)
return false;
}
-bool fw_config_is_provisioned(void)
-{
- return fw_config_get() != UNDEFINED_FW_CONFIG;
-}
-
bool fw_config_probe_dev(const struct device *dev, const struct fw_config **matching_probe)
{
const struct fw_config *probe;