diff options
author | Rob Purchase <shotofadds@rockbox.org> | 2008-03-12 20:57:19 +0000 |
---|---|---|
committer | Rob Purchase <shotofadds@rockbox.org> | 2008-03-12 20:57:19 +0000 |
commit | c8836112c6f88298f7d43eab0e83e05ca87eaf91 (patch) | |
tree | b5ba6773db6d8160a89d751f1cadf773dcca9160 /firmware | |
parent | 769fcbd4d9425d0de1fa1628acdce1a2ffbdcd98 (diff) | |
download | rockbox-c8836112c6f88298f7d43eab0e83e05ca87eaf91.tar.gz rockbox-c8836112c6f88298f7d43eab0e83e05ca87eaf91.zip |
Cowon D2: Make the bootloader functional (usage instructions to appear on the CowonD2Info wikipage shortly). Also re-enable IRAM by reducing Tremor's ICODE usage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16646 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/config-cowond2.h | 6 | ||||
-rw-r--r-- | firmware/export/config.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/firmware/export/config-cowond2.h b/firmware/export/config-cowond2.h index 78b963c58d..9363f67683 100644 --- a/firmware/export/config-cowond2.h +++ b/firmware/export/config-cowond2.h | |||
@@ -6,6 +6,9 @@ | |||
6 | /* For Rolo and boot loader */ | 6 | /* For Rolo and boot loader */ |
7 | #define MODEL_NUMBER 24 | 7 | #define MODEL_NUMBER 24 |
8 | 8 | ||
9 | /* Produce a dual-boot bootloader.bin for mktccboot */ | ||
10 | #define TCCBOOT | ||
11 | |||
9 | /* define this if you have recording possibility */ | 12 | /* define this if you have recording possibility */ |
10 | //#define HAVE_RECORDING | 13 | //#define HAVE_RECORDING |
11 | 14 | ||
@@ -63,6 +66,9 @@ | |||
63 | /* Define this if you have a software controlled poweroff */ | 66 | /* Define this if you have a software controlled poweroff */ |
64 | #define HAVE_SW_POWEROFF | 67 | #define HAVE_SW_POWEROFF |
65 | 68 | ||
69 | /* Reduce Tremor's ICODE usage */ | ||
70 | #define ICODE_ATTR_TREMOR_NOT_MDCT | ||
71 | |||
66 | /* The number of bytes reserved for loadable codecs */ | 72 | /* The number of bytes reserved for loadable codecs */ |
67 | #define CODEC_SIZE 0x80000 | 73 | #define CODEC_SIZE 0x80000 |
68 | 74 | ||
diff --git a/firmware/export/config.h b/firmware/export/config.h index e1c0cbc938..6a04504613 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -400,7 +400,7 @@ | |||
400 | defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \ | 400 | defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \ |
401 | defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \ | 401 | defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \ |
402 | defined(CPU_TCC77X) || /* Telechips: core, plugins, codecs */ \ | 402 | defined(CPU_TCC77X) || /* Telechips: core, plugins, codecs */ \ |
403 | /*defined(CPU_TCC780X) || /. Telechips: core, plugins, codecs */ \ | 403 | defined(CPU_TCC780X) || /* Telechips: core, plugins, codecs */ \ |
404 | (CONFIG_CPU == PNX0101)) | 404 | (CONFIG_CPU == PNX0101)) |
405 | #define ICODE_ATTR __attribute__ ((section(".icode"))) | 405 | #define ICODE_ATTR __attribute__ ((section(".icode"))) |
406 | #define ICONST_ATTR __attribute__ ((section(".irodata"))) | 406 | #define ICONST_ATTR __attribute__ ((section(".irodata"))) |