summaryrefslogtreecommitdiffstats
path: root/i9305.h
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-07-18 17:07:43 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-07-18 17:07:43 +0200
commit9af74e1e2707bee3dcbf1008682566d330418d8a (patch)
tree4d3740628ba0d88e91f6c5c94abab4cf0d92ef50 /i9305.h
parentbcf9438e27b3e678c815b544509706e7b7332451 (diff)
downloadi9305_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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/i9305.h b/i9305.h
index e9e6385..e374ef8 100644
--- a/i9305.h
+++ b/i9305.h
@@ -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