diff options
author | Kevin Tang <zhikait@codeaurora.org> | 2014-12-15 10:51:42 -0800 |
---|---|---|
committer | Kevin Tang <zhikait@codeaurora.org> | 2014-12-15 21:21:16 -0800 |
commit | f014665a5299f281695c8d098f7444afbf623057 (patch) | |
tree | 41e24d1249b7a8456f89c9be9377a05faee628fa /utils/loc_target.h | |
parent | 3aa99e9fc58817356ef6fb184e5339d5a2667222 (diff) | |
download | gps-f014665a5299f281695c8d098f7444afbf623057.tar.gz |
Enable "auto" target for APQ8960 Automotive ADP platform
APQ8960 Automotive platforms use "auto" as a target name
for ro.baseband property. Appropriate GPS driver changes
were,
1. define GNSS_AUTO enum constant
2. Enable GNSS drivers for "auto" target.
Change-Id: I463db7ac1c3e2dd6101e457ad723bb16adf5aacb
CRs-Fixed: 771597
Diffstat (limited to 'utils/loc_target.h')
-rw-r--r-- | utils/loc_target.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/loc_target.h b/utils/loc_target.h index 208a34c..d7364e9 100644 --- a/utils/loc_target.h +++ b/utils/loc_target.h @@ -36,6 +36,7 @@ #define TARGET_MSM_NO_SSC TARGET_SET(GNSS_MSM, NO_SSC) #define TARGET_QCA1530 TARGET_SET(GNSS_QCA1530, NO_SSC) #define TARGET_PDS TARGET_SET(GNSS_PDS, NO_SSC) +#define TARGET_AUTO TARGET_SET(GNSS_AUTO, NO_SSC) #define TARGET_UNKNOWN TARGET_SET(GNSS_UNKNOWN, NO_SSC) #define getTargetGnssType(target) (target>>1) @@ -62,6 +63,7 @@ typedef enum { GNSS_MDM, GNSS_QCA1530, GNSS_PDS, + GNSS_AUTO, GNSS_UNKNOWN }GNSS_TARGET; |