diff options
author | Vitja Makarov <vitja.makarov@gmail.com> | 2009-09-18 05:48:37 +0000 |
---|---|---|
committer | Vitja Makarov <vitja.makarov@gmail.com> | 2009-09-18 05:48:37 +0000 |
commit | 36e8fc08726fcf40071aad48f20df004d9c499ef (patch) | |
tree | da5b5cb31dbbbdadf0534ec4b2b046cea17d2aaf /firmware/target/arm/tcc77x/iaudio7 | |
parent | 05fd9ee182a6a9147bd2fe285ee91307e6620c96 (diff) | |
download | rockbox-36e8fc08726fcf40071aad48f20df004d9c499ef.tar.gz rockbox-36e8fc08726fcf40071aad48f20df004d9c499ef.zip |
tcc77x: add tcc77x_cscfg_bw() helper for external memory bus width setup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22729 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tcc77x/iaudio7')
-rw-r--r-- | firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c | 2 |
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 ef7e1ec140..6da0d2c083 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) | |||
128 | void lcd_init_device(void) | 128 | void lcd_init_device(void) |
129 | { | 129 | { |
130 | /* Configure external memory banks */ | 130 | /* Configure external memory banks */ |
131 | CSCFG1 = 0x2d500023 | (((MCFG >> 11) & 1) << 28); | 131 | CSCFG1 = 0x0d500023 | tcc77x_cscfg_bw(TCC77X_CSCFG_BW16); |
132 | 132 | ||
133 | /* may be reset */ | 133 | /* may be reset */ |
134 | GPIOA |= 0x8000; | 134 | GPIOA |= 0x8000; |