diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/blspec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/blspec.c b/common/blspec.c index 4146915ffb..6cb1fea9e8 100644 --- a/common/blspec.c +++ b/common/blspec.c @@ -139,6 +139,8 @@ static int blspec_boot(struct bootentry *be, int verbose, int dryrun) (entry->cdev && entry->cdev->dev) ? dev_name(entry->cdev->dev) : "none"); + of_overlay_set_basedir(abspath); + old_fws = firmware_get_searchpath(); if (old_fws && *old_fws) fws = basprintf("%s/lib/firmware:%s", abspath, old_fws); @@ -154,6 +156,7 @@ static int blspec_boot(struct bootentry *be, int verbose, int dryrun) if (overlays) of_unregister_fixup(blspec_overlay_fixup, entry); + of_overlay_set_basedir("/"); firmware_set_searchpath(old_fws); err_out: |