Skip to content

Commit

Permalink
firmware: Enable stateless firmware loading
Browse files Browse the repository at this point in the history
Prefer the order of specific version before generic and /etc before
/lib to enable the user to give specific overrides for generic
firmware and distribution firmware.
  • Loading branch information
bryteise authored and xanmod committed Mar 21, 2022
1 parent 1b40023 commit dfe005a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/base/firmware_loader/main.c
Expand Up @@ -407,6 +407,8 @@ static int fw_decompress_xz(struct device *dev, struct fw_priv *fw_priv,
static char fw_path_para[256];
static const char * const fw_path[] = {
fw_path_para,
"/etc/firmware/" UTS_RELEASE,
"/etc/firmware",
"/lib/firmware/updates/" UTS_RELEASE,
"/lib/firmware/updates",
"/lib/firmware/" UTS_RELEASE,
Expand Down

0 comments on commit dfe005a

Please sign in to comment.