firmware_loader: Add /vendor/firmware and /odm/firmware to search paths
* Add both /vendor/firmware and /odm/firmware to firmware loader search paths because Oplus like to store their firmware in /odm, also add the /vendor path so we don't need to specify /vendor/firmware in firmware_class.path boot arg.
This commit is contained in:
parent
a83e8e51cf
commit
8744e80bcb
@ -481,12 +481,12 @@ static const char * const fw_path[] = {
|
||||
fw_path_para[7],
|
||||
fw_path_para[8],
|
||||
fw_path_para[9],
|
||||
"/vendor/firmware",
|
||||
"/odm/firmware",
|
||||
"/lib/firmware/updates/" UTS_RELEASE,
|
||||
"/lib/firmware/updates",
|
||||
"/lib/firmware/" UTS_RELEASE,
|
||||
"/lib/firmware",
|
||||
"/odm/firmware",
|
||||
"/vendor/firmware",
|
||||
};
|
||||
|
||||
static char strpath[PATH_SIZE * CUSTOM_FW_PATH_COUNT];
|
||||
|
Loading…
Reference in New Issue
Block a user