From 142ac2a35af99ddd80636b8973c5ee082550c215 Mon Sep 17 00:00:00 2001 From: Rob Purchase Date: Sun, 12 Oct 2008 21:14:08 +0000 Subject: [PATCH] Fix a couple of factual inaccuracies in the M200 build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18790 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-m200.h | 15 ++++----------- tools/configure | 2 +- 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"