diff options
Diffstat (limited to 'firmware/target/arm/ata-nand-telechips.c')
-rw-r--r-- | firmware/target/arm/ata-nand-telechips.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/firmware/target/arm/ata-nand-telechips.c b/firmware/target/arm/ata-nand-telechips.c index 73d92a5215..55f6b1f3f7 100644 --- a/firmware/target/arm/ata-nand-telechips.c +++ b/firmware/target/arm/ata-nand-telechips.c | |||
@@ -48,7 +48,7 @@ static long next_yield = 0; | |||
48 | 48 | ||
49 | static struct mutex ata_mtx SHAREDBSS_ATTR; | 49 | static struct mutex ata_mtx SHAREDBSS_ATTR; |
50 | 50 | ||
51 | #if defined(COWON_D2) || defined(IAUDIO_7) | 51 | #if defined(COWON_D2) |
52 | #define FTL_V2 | 52 | #define FTL_V2 |
53 | #define MAX_WRITE_CACHES 8 | 53 | #define MAX_WRITE_CACHES 8 |
54 | #else | 54 | #else |
@@ -906,13 +906,6 @@ int nand_init(void) | |||
906 | 906 | ||
907 | mutex_init(&ata_mtx); | 907 | mutex_init(&ata_mtx); |
908 | 908 | ||
909 | #ifdef CPU_TCC77X | ||
910 | CSCFG2 = 0x018a8010 | tcc77x_cscfg_bw(TCC77X_CSCFG_BW8); | ||
911 | |||
912 | GPIOC_FUNC &= ~(CS_GPIO_BIT | WE_GPIO_BIT); | ||
913 | GPIOC_FUNC |= 0x1; | ||
914 | #endif | ||
915 | |||
916 | /* Set GPIO direction for chip select & write protect */ | 909 | /* Set GPIO direction for chip select & write protect */ |
917 | NAND_GPIO_OUT_EN(CS_GPIO_BIT | WE_GPIO_BIT); | 910 | NAND_GPIO_OUT_EN(CS_GPIO_BIT | WE_GPIO_BIT); |
918 | 911 | ||