summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/fw_config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/fw_config.h b/src/include/fw_config.h
index 04fdf98921..9f5e4b83ad 100644
--- a/src/include/fw_config.h
+++ b/src/include/fw_config.h
@@ -117,6 +117,12 @@ static inline bool fw_config_probe_dev(const struct device *dev,
return true;
}
+static inline uint64_t fw_config_get_field(const struct fw_config_field *field)
+{
+ /* Always return UNDEFINED_FW_CONFIG when get with disabled fw_config. */
+ return UNDEFINED_FW_CONFIG;
+}
+
#endif /* CONFIG(FW_CONFIG) */
#endif /* __FW_CONFIG__ */