diff options
| author | Dan Pasanen <invisiblek@cyanogenmod.org> | 2016-03-13 08:18:35 -0500 |
|---|---|---|
| committer | Dan Pasanen <invisiblek@cyanogenmod.org> | 2016-03-13 08:20:28 -0500 |
| commit | 8641916a09617ce710e77d95635e0624e0f5ac00 (patch) | |
| tree | 319ed3c9f63c53e958c56e0fe811ae52b30a40c1 | |
| parent | 5ae7ead83565d9b935c60c789e4e861250b78a50 (diff) | |
recovery: fix baseband assert
* QC_IMAGE_VERSION_STRING= its not just for the baseband version
so we can potentially hit a false failure in assert if WCNSS or
ADSP happens to show up first on the modem partition
Change-Id: I14becefd7d62680f68eca093097c8ae6dd2ca671
| -rw-r--r-- | board-info.txt | 2 | ||||
| -rw-r--r-- | recovery/recovery_updater.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/board-info.txt b/board-info.txt index 77d8347..d3732fa 100644 --- a/board-info.txt +++ b/board-info.txt @@ -1 +1 @@ -require version-baseband=24B:MPSS.DI.2.0.1.C1.13-00073|35B:MPSS.DI.2.0.1.C1.13.4-00005 +require version-baseband=24B:2.0.1.C1.13-00073|35B:2.0.1.C1.13.4-00005 diff --git a/recovery/recovery_updater.c b/recovery/recovery_updater.c index 2844989..eb39aa7 100644 --- a/recovery/recovery_updater.c +++ b/recovery/recovery_updater.c @@ -33,8 +33,8 @@ #define KB 1024 #define BASEBAND_PART_PATH "/dev/block/platform/msm_sdcc.1/by-name/modem" -#define BASEBAND_VER_STR_START "QC_IMAGE_VERSION_STRING=" -#define BASEBAND_VER_STR_START_LEN 24 +#define BASEBAND_VER_STR_START "QC_IMAGE_VERSION_STRING=MPSS.DI." +#define BASEBAND_VER_STR_START_LEN 32 #define BASEBAND_VER_BUF_LEN 255 #define BASEBAND_SZ 64000 * KB /* MMAP 64M of BASEBAND, BASEBAND partition is 64M */ |
