summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure4
-rw-r--r--tools/scramble.c6
2 files changed, 6 insertions, 4 deletions
diff --git a/tools/configure b/tools/configure
index b7fa988..486a470 100755
--- a/tools/configure
+++ b/tools/configure
@@ -2148,7 +2148,7 @@ fi
;;
120|ondavx747)
- target_id=44
+ target_id=45
modelname="ondavx747"
target="-DONDA_VX747"
memory=16
@@ -2170,7 +2170,7 @@ fi
;;
121|ondavx767)
- target_id=45
+ target_id=64
modelname="ondavx767"
target="-DONDA_VX767"
memory=16 #FIXME
diff --git a/tools/scramble.c b/tools/scramble.c
index 5d2b12f..ce06523 100644
--- a/tools/scramble.c
+++ b/tools/scramble.c
@@ -304,8 +304,6 @@ int main (int argc, char** argv)
modelnum = 45;
else if (!strcmp(&argv[1][5], "747p"))
modelnum = 54;
- else if (!strcmp(&argv[1][5], "x777"))
- modelnum = 61;
else if (!strcmp(&argv[1][5], "y820")) /* Samsung YH-820 */
modelnum = 57;
else if (!strcmp(&argv[1][5], "y920")) /* Samsung YH-920 */
@@ -314,6 +312,10 @@ int main (int argc, char** argv)
modelnum = 59;
else if (!strcmp(&argv[1][5], "clv2")) /* Sansa Clipv2 */
modelnum = 60;
+ else if (!strcmp(&argv[1][5], "x777"))
+ modelnum = 61;
+ else if (!strcmp(&argv[1][5], "x767"))
+ modelnum = 64;
else {
fprintf(stderr, "unsupported model: %s\n", &argv[1][5]);
return 2;