summaryrefslogtreecommitdiffstats
path: root/firmware/export/s3c2440.h
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2007-10-23 03:29:15 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2007-10-23 03:29:15 +0000
commit5a9a2b7bc4e1e2a97ec731524bb7e127f5c8cacf (patch)
tree6933baa85655794d2b4b6df64681f8969b520297 /firmware/export/s3c2440.h
parent9d9225ed1ddefab985ab3ffd7e77bccf979f1c5b (diff)
downloadrockbox-5a9a2b7bc4e1e2a97ec731524bb7e127f5c8cacf.tar.gz
rockbox-5a9a2b7bc4e1e2a97ec731524bb7e127f5c8cacf.tar.bz2
rockbox-5a9a2b7bc4e1e2a97ec731524bb7e127f5c8cacf.zip
Unify the Gigabeat F/X and M:Robe MMU code while enabling it for the M:Robe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15275 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/s3c2440.h')
-rw-r--r--firmware/export/s3c2440.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/s3c2440.h b/firmware/export/s3c2440.h
index 1eaa77bf80..e43dd7688d 100644
--- a/firmware/export/s3c2440.h
+++ b/firmware/export/s3c2440.h
@@ -229,7 +229,7 @@
#define TTB_SIZE (0x4000)
/*#define FRAME ( (short *) 0x31E00000 ) */ /* LCD Frame buffer - Firmware Address */
/* must be 16Kb (0x4000) aligned */
-#define TTB_BASE (0x30000000 + (32*1024*1024) - TTB_SIZE) /* End of memory */
+#define TTB_BASE ((unsigned int *)(0x30000000 + (32*1024*1024) - TTB_SIZE)) /* End of memory */
#define FRAME ((short *) (TTB_BASE - LCD_BUFFER_SIZE)) /* Right before TTB */
/* NAND Flash */