summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorVitja Makarov <vitja.makarov@gmail.com>2009-09-17 21:03:28 +0000
committerVitja Makarov <vitja.makarov@gmail.com>2009-09-17 21:03:28 +0000
commitbe3c62f9ab8940de9027dd3e7f86a30ca22dea2a (patch)
tree9872b1c4a63079c84c4a8dc4c1e1d4eeafdad598 /firmware
parent7b6265edf5d2f71cb25d9ee71f30dbe14a2427a6 (diff)
downloadrockbox-be3c62f9ab8940de9027dd3e7f86a30ca22dea2a.tar.gz
rockbox-be3c62f9ab8940de9027dd3e7f86a30ca22dea2a.tar.bz2
rockbox-be3c62f9ab8940de9027dd3e7f86a30ca22dea2a.zip
i7: Fix memory bus initialization, thanks to Genia Bezman!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22722 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c b/firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c
index 134d936e7b..ef7e1ec140 100644
--- a/firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c
+++ b/firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c
@@ -128,7 +128,7 @@ static void _display_on(void)
void lcd_init_device(void)
{
/* Configure external memory banks */
- CSCFG1 = 0x3d500023;
+ CSCFG1 = 0x2d500023 | (((MCFG >> 11) & 1) << 28);
/* may be reset */
GPIOA |= 0x8000;