diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2020-04-14 22:48:17 +0530 |
---|---|---|
committer | Todd Kjos <tkjos@google.com> | 2020-04-25 15:23:16 +0000 |
commit | b951ef2442aab86b76d3270b4657c4fbccc58af6 (patch) | |
tree | c8d5adfb8f542b6b033844e9ee43198497f67ce0 /qcom | |
parent | 4f619fba658deb64633165bdae0efea47db42952 (diff) |
qcom: pd-mapper: Use /vendor/firmware path for AOSP
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: I44f1d53cb16bc91e05be530c55e15a2657660be6
Diffstat (limited to 'qcom')
-rw-r--r-- | qcom/pd-mapper/pd-mapper.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qcom/pd-mapper/pd-mapper.c b/qcom/pd-mapper/pd-mapper.c index c7db57f..664b77d 100644 --- a/qcom/pd-mapper/pd-mapper.c +++ b/qcom/pd-mapper/pd-mapper.c @@ -192,7 +192,11 @@ static int pd_load_map(const char *file) return 0; } +#ifndef ANDROID #define FIRMWARE_BASE "/lib/firmware/" +#else +#define FIRMWARE_BASE "/vendor/firmware/" +#endif static int pd_enumerate_jsons(struct assoc *json_set) { |