ANDROID: pd-mapper: Use /vendor/firmware path for AOSP

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
This commit is contained in:
Amit Pundir 2020-04-14 22:48:17 +05:30 committed by Bjorn Andersson
parent b4c1e362f1
commit 352a39cd0c

View File

@ -193,7 +193,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)
{