From a79cb485b653ecea692f0085f0d3668ee7101662 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Fri, 18 Mar 2005 11:37:33 +0000 Subject: 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 --- firmware/drivers/ata.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'firmware/drivers/ata.c') 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) GPIO_ENABLE |= 0x00080000; GPIO_FUNCTION |= 0x00080000; - /* ATA controller interface */ - IDECONFIG1 = 0x00107400; /* BUFEN2 enable, 5 clock pre, 3 clock post */ - IDECONFIG2 = 0x00040000; /* TA Enable = 1 */ + /* FYI: The IDECONFIGx registers are set by set_cpu_frequency() */ #endif sleeping = false; -- cgit v1.2.3