1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Linus Nielsen Feltzing 2005-03-18 11:37:33 +00:00
parent fbf8e14b3c
commit a79cb485b6

View file

@ -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;