diff options
Diffstat (limited to 'src/lib/fw_config.c')
-rw-r--r-- | src/lib/fw_config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/fw_config.c b/src/lib/fw_config.c index 02e2a7dadd..e03256764b 100644 --- a/src/lib/fw_config.c +++ b/src/lib/fw_config.c @@ -104,6 +104,10 @@ bool fw_config_probe_dev(const struct device *dev, const struct fw_config **matc if (!dev->probe_list) return true; + /* If the device wants to be enabled during unprovisioned fw_config */ + if (!fw_config_is_provisioned() && dev->enable_on_unprovisioned_fw_config) + return true; + for (probe = dev->probe_list; probe && probe->mask != 0; probe++) { if (!fw_config_probe(probe)) continue; |