diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-07-18 17:07:43 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-07-18 17:07:43 +0200 |
commit | 9af74e1e2707bee3dcbf1008682566d330418d8a (patch) | |
tree | 4d3740628ba0d88e91f6c5c94abab4cf0d92ef50 /i9305.h | |
parent | bcf9438e27b3e678c815b544509706e7b7332451 (diff) | |
download | i9305_modem-9af74e1e2707bee3dcbf1008682566d330418d8a.zip i9305_modem-9af74e1e2707bee3dcbf1008682566d330418d8a.tar.gz i9305_modem-9af74e1e2707bee3dcbf1008682566d330418d8a.tar.bz2 |
refactoring and first shot at EFS sync
Receiving the actual EFS data doesn't work yet. And sometimes, the
modem ends up in states where it crashes after exchanging hellos.
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'i9305.h')
-rw-r--r-- | i9305.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -25,6 +25,7 @@ #define WAKE_CHARM _IO(CHARM_CODE, 1) #define NORMAL_BOOT_DONE _IOW(CHARM_CODE, 5, int) #define WAIT_FOR_ERROR _IOW(CHARM_CODE, 12, int) +#define WAIT_FOR_RESTART _IOR(CHARM_CODE, 7, int) #define MAX_DATA_SEND_SIZE 1*1024*1024 @@ -41,4 +42,9 @@ #define FILE_SBL2 "/firmware/image/sbl2.mbn" #define FILE_RPM "/firmware/image/rpm.mbn" +// EFS sync +#define SYNC_PATH "/dev/block/modem/dump_path/" +#define SYNC_EFS1 "m9kefs1" +#define SYNC_EFS2 "m9kefs2" + #endif |