26 lines
910 B
Diff
26 lines
910 B
Diff
From c6f8d4723c8185d7096cdea7f5e499184f22426e Mon Sep 17 00:00:00 2001
|
|
From: William Douglas <william.douglas@intel.com>
|
|
Date: Wed, 20 Jun 2018 17:23:21 +0000
|
|
Subject: [PATCH 2/4] firmware: Enable stateless firmware loading
|
|
|
|
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.
|
|
|
|
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
|
---
|
|
drivers/base/firmware_loader/main.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/drivers/base/firmware_loader/main.c
|
|
+++ b/drivers/base/firmware_loader/main.c
|
|
@@ -471,6 +471,8 @@ static int fw_decompress_xz(struct devic
|
|
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,
|