From 36e8fc08726fcf40071aad48f20df004d9c499ef Mon Sep 17 00:00:00 2001 From: Vitja Makarov Date: Fri, 18 Sep 2009 05:48:37 +0000 Subject: 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 --- firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/arm/tcc77x/iaudio7/lcd-iaudio7.c') 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) void lcd_init_device(void) { /* Configure external memory banks */ - CSCFG1 = 0x2d500023 | (((MCFG >> 11) & 1) << 28); + CSCFG1 = 0x0d500023 | tcc77x_cscfg_bw(TCC77X_CSCFG_BW16); /* may be reset */ GPIOA |= 0x8000; -- cgit v1.2.3