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:
parent
fbf8e14b3c
commit
a79cb485b6
1 changed files with 1 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue