gps: add support for apq8064 v2

The id for apq8064 v2 is 153 vs apq8064 v1
id of 109, so the id can be either in order
to conclude that the device is apq8064 so
that GSS can be launched.

Change-Id: I8126854f18ba30a1fe46992993185266e9d1db18
CRs-fixed: 405494
This commit is contained in:
Dante Russo 2012-09-28 15:31:11 -07:00
parent 48cd8b423b
commit 5b98ce35cd

View file

@ -216,7 +216,7 @@ static int get_target_name(void)
target_name = TARGET_NAME_APQ8064_FUSION3;
} else {
read_a_line( id, line, LINE_LEN);
if(!strncmp(line, "109", strlen("109"))) {
if(!strncmp(line, "109", strlen("109")) || !strncmp(line, "153", strlen("153"))) {
target_name = TARGET_NAME_APQ8064_STANDALONE;
}
}