summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2021-06-24 10:52:19 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-06-28 22:12:18 +0200
commit124c64af09829bb4e099b91cae4019951516f3ed (patch)
tree2e0f0df239066d3a350f0f52a329697d275255da /common
parenteb1d3c2f4e5408575b470e5b1bf963c1df43491b (diff)
downloadbarebox-124c64af09829bb4e099b91cae4019951516f3ed.tar.gz
barebox-124c64af09829bb4e099b91cae4019951516f3ed.tar.xz
overlay: Add filters to choose which overlays to apply
This adds a filter mechanism to choose which overlays to apply. Filters can either match on the filename or on the content of an overlay. Two generic filters are registered, one matching filename patterns given in global.of.overlay.filepattern, the other matching device tree compatibles given in global.of.overlay.compatible. Other board or SoC specific filters can be registered and activated using the global.of.overlay.filter variable. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.barebox.org/20210624085223.14616-15-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/blspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/blspec.c b/common/blspec.c
index ca96a45487..4146915ffb 100644
--- a/common/blspec.c
+++ b/common/blspec.c
@@ -51,7 +51,7 @@ static int blspec_overlay_fixup(struct device_node *root, void *ctx)
path = basprintf("%s/%s", entry->rootpath, overlay);
- of_overlay_apply_file(root, path);
+ of_overlay_apply_file(root, path, false);
free(path);
}