diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-03-18 11:37:33 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-03-18 11:37:33 +0000 |
commit | a79cb485b653ecea692f0085f0d3668ee7101662 (patch) | |
tree | 0ed9bc07725cd31ed4274d6a01dd7f0daa3044ea /firmware | |
parent | fbf8e14b3c12887c470dc20440960abf7fd77d3c (diff) | |
download | rockbox-a79cb485b653ecea692f0085f0d3668ee7101662.tar.gz rockbox-a79cb485b653ecea692f0085f0d3668ee7101662.zip |
iRiver: ATA timing is now setup by set_cpu_frequency()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6207 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/ata.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 5fe6e9e5ec..10f5f20c7b 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c | |||
@@ -1402,9 +1402,7 @@ int ata_init(void) | |||
1402 | GPIO_ENABLE |= 0x00080000; | 1402 | GPIO_ENABLE |= 0x00080000; |
1403 | GPIO_FUNCTION |= 0x00080000; | 1403 | GPIO_FUNCTION |= 0x00080000; |
1404 | 1404 | ||
1405 | /* ATA controller interface */ | 1405 | /* FYI: The IDECONFIGx registers are set by set_cpu_frequency() */ |
1406 | IDECONFIG1 = 0x00107400; /* BUFEN2 enable, 5 clock pre, 3 clock post */ | ||
1407 | IDECONFIG2 = 0x00040000; /* TA Enable = 1 */ | ||
1408 | #endif | 1406 | #endif |
1409 | 1407 | ||
1410 | sleeping = false; | 1408 | sleeping = false; |