summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorWill Robertson <aliask@rockbox.org>2008-04-16 08:30:30 +0000
committerWill Robertson <aliask@rockbox.org>2008-04-16 08:30:30 +0000
commit735790fde00c2cb47f060982b649c0a395c10fd9 (patch)
tree321575a624b8954cf9a04ad635d8db0762a7f7ff /firmware
parentfa98e290b2b58482d96fedc71a1babd5b5fda1ca (diff)
downloadrockbox-735790fde00c2cb47f060982b649c0a395c10fd9.tar.gz
rockbox-735790fde00c2cb47f060982b649c0a395c10fd9.tar.bz2
rockbox-735790fde00c2cb47f060982b649c0a395c10fd9.zip
Some general housekeeping. Fixed a few yellows, made the volume buttons work in lists. ROLO now works also thanks to rob's work on the D2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17139 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config-gigabeat-s.h1
-rw-r--r--firmware/rolo.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/firmware/export/config-gigabeat-s.h b/firmware/export/config-gigabeat-s.h
index 3fc226ae59..353055f2cb 100644
--- a/firmware/export/config-gigabeat-s.h
+++ b/firmware/export/config-gigabeat-s.h
@@ -133,6 +133,7 @@
#define FIRMWARE_OFFSET_FILE_DATA 8
#define HAVE_SERIAL
+#define HAVE_VOLUME_IN_LIST
/*Remove Comments from UART_INT to enable the UART interrupts,*/
/*otherwise iterrupts will be disabled. For now we will test */
diff --git a/firmware/rolo.c b/firmware/rolo.c
index 848b35b056..a18a0737c7 100644
--- a/firmware/rolo.c
+++ b/firmware/rolo.c
@@ -168,7 +168,7 @@ void rolo_restart(const unsigned char* source, unsigned char* dest,
"mov pc, r0 \n"
);
-#elif defined(CPU_TCC780X)
+#elif defined(CPU_TCC780X) || (CONFIG_CPU==IMX31L)
/* Flush cache */
flush_icache();
@@ -226,7 +226,7 @@ int rolo_load(const char* filename)
length = filesize(fd) - FIRMWARE_OFFSET_FILE_DATA;
#if defined(CPU_COLDFIRE) || defined(CPU_PP) || (CONFIG_CPU==DM320) \
- || defined(CPU_TCC780X)
+ || defined(CPU_TCC780X) || (CONFIG_CPU==IMX31L)
/* Read and save checksum */
lseek(fd, FIRMWARE_OFFSET_FILE_CRC, SEEK_SET);
if (read(fd, &file_checksum, 4) != 4) {