diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2021-04-23 11:09:49 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-04-26 07:41:51 -0400 |
commit | 3ba2f6e5c7383c5d7a6f8a1c38b6b5403a8a5dcb (patch) | |
tree | 2741885caf2393cf05ddd5fac7559df3abcd17dd /firmware/target/arm/ata-nand-telechips.c | |
parent | 77188e41f5c9966432a0fbb3bffd2069d53cc608 (diff) | |
download | rockbox-3ba2f6e5c7383c5d7a6f8a1c38b6b5403a8a5dcb.tar.gz rockbox-3ba2f6e5c7383c5d7a6f8a1c38b6b5403a8a5dcb.zip |
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
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 | ||