From 124c64af09829bb4e099b91cae4019951516f3ed Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 24 Jun 2021 10:52:19 +0200 Subject: 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 Link: https://lore.barebox.org/20210624085223.14616-15-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer --- common/blspec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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); } -- cgit v1.2.3