summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2008-03-12 20:57:19 +0000
committerRob Purchase <shotofadds@rockbox.org>2008-03-12 20:57:19 +0000
commitc8836112c6f88298f7d43eab0e83e05ca87eaf91 (patch)
treeb5ba6773db6d8160a89d751f1cadf773dcca9160 /firmware/export
parent769fcbd4d9425d0de1fa1628acdce1a2ffbdcd98 (diff)
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/export')
-rw-r--r--firmware/export/config-cowond2.h6
-rw-r--r--firmware/export/config.h2
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 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 24
+/* Produce a dual-boot bootloader.bin for mktccboot */
+#define TCCBOOT
+
/* define this if you have recording possibility */
//#define HAVE_RECORDING
@@ -63,6 +66,9 @@
/* Define this if you have a software controlled poweroff */
#define HAVE_SW_POWEROFF
+/* Reduce Tremor's ICODE usage */
+#define ICODE_ATTR_TREMOR_NOT_MDCT
+
/* The number of bytes reserved for loadable codecs */
#define CODEC_SIZE 0x80000
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 @@
defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \
defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \
defined(CPU_TCC77X) || /* Telechips: core, plugins, codecs */ \
- /*defined(CPU_TCC780X) || /. Telechips: core, plugins, codecs */ \
+ defined(CPU_TCC780X) || /* Telechips: core, plugins, codecs */ \
(CONFIG_CPU == PNX0101))
#define ICODE_ATTR __attribute__ ((section(".icode")))
#define ICONST_ATTR __attribute__ ((section(".irodata")))