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/ata-nand-telechips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/arm/ata-nand-telechips.c') diff --git a/firmware/target/arm/ata-nand-telechips.c b/firmware/target/arm/ata-nand-telechips.c index 7250211eb9..4875ea6dc0 100644 --- a/firmware/target/arm/ata-nand-telechips.c +++ b/firmware/target/arm/ata-nand-telechips.c @@ -900,7 +900,7 @@ int nand_init(void) mutex_init(&ata_mtx); #ifdef CPU_TCC77X - CSCFG2 = 0x318a8010; + CSCFG2 = 0x018a8010 | tcc77x_cscfg_bw(TCC77X_CSCFG_BW8); GPIOC_FUNC &= ~(CS_GPIO_BIT | WE_GPIO_BIT); GPIOC_FUNC |= 0x1; -- cgit v1.2.3