From 3ba2f6e5c7383c5d7a6f8a1c38b6b5403a8a5dcb Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 23 Apr 2021 11:09:49 -0400 Subject: Nuke all TCC77x targets: iAudio 7, Sansa C100, M200(v1-3), Logik DAX They were never finished, never saw any release ever, and haven't compiled for the better part of a decade. Given their HW capabilities [1], they are not worth trying to fix. [1] 1-2MB RAM, ~256MB onboard flash, no expandability Change-Id: I7b2a5806d687114c22156bb0458d4a10a9734190 --- firmware/target/arm/ata-nand-telechips.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (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 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; static struct mutex ata_mtx SHAREDBSS_ATTR; -#if defined(COWON_D2) || defined(IAUDIO_7) +#if defined(COWON_D2) #define FTL_V2 #define MAX_WRITE_CACHES 8 #else @@ -906,13 +906,6 @@ int nand_init(void) mutex_init(&ata_mtx); -#ifdef CPU_TCC77X - CSCFG2 = 0x018a8010 | tcc77x_cscfg_bw(TCC77X_CSCFG_BW8); - - GPIOC_FUNC &= ~(CS_GPIO_BIT | WE_GPIO_BIT); - GPIOC_FUNC |= 0x1; -#endif - /* Set GPIO direction for chip select & write protect */ NAND_GPIO_OUT_EN(CS_GPIO_BIT | WE_GPIO_BIT); -- cgit v1.2.3