summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/export/config-m200.h15
-rwxr-xr-xtools/configure2
2 files changed, 5 insertions, 12 deletions
diff --git a/firmware/export/config-m200.h b/firmware/export/config-m200.h
index eeac509970..a362b7e1a4 100644
--- a/firmware/export/config-m200.h
+++ b/firmware/export/config-m200.h
@@ -90,8 +90,8 @@
#ifndef SIMULATOR
-/* Define this if you have a TCC773L */
-#define CONFIG_CPU TCC773L
+/* Define this if you have a TCC770 */
+#define CONFIG_CPU TCC770
/* Define this if you have ATA power-off control */
#define HAVE_ATA_POWER_OFF
@@ -99,18 +99,11 @@
/* Define this to the CPU frequency */
#define CPU_FREQ 120000000
-/* Offset ( in the firmware file's header ) to the file length */
-#define FIRMWARE_OFFSET_FILE_LENGTH 0
-
/* Offset ( in the firmware file's header ) to the file CRC */
-#define FIRMWARE_OFFSET_FILE_CRC 4
+#define FIRMWARE_OFFSET_FILE_CRC 0
/* Offset ( in the firmware file's header ) to the real data */
-#define FIRMWARE_OFFSET_FILE_DATA 6
-
-/* The start address index for ROM builds */
-/* #define ROM_START 0x11010 for behind original Archos */
-#define ROM_START 0x7010 /* for behind BootBox */
+#define FIRMWARE_OFFSET_FILE_DATA 8
/* Software controlled LED */
#define CONFIG_LED LED_VIRTUAL
diff --git a/tools/configure b/tools/configure
index f231d092b4..c34ecec382 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1635,7 +1635,7 @@ fi
target_id=48
modelname="m200"
target="-DSANSA_M200"
- memory=2 # always
+ memory=1 # always
arm946cc
tool="$rootdir/tools/scramble -add=m200"
boottool="$rootdir/tools/scramble -tcc=crc"