1
0
Fork 0
forked from len0rd/rockbox

iriver: ATA controller register setup

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5807 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2005-02-06 03:00:30 +00:00
parent e085a51b07
commit 3a777cd79c

View file

@ -1371,6 +1371,10 @@ int ata_init(void)
GPIO_OUT |= 0x00080000;
GPIO_ENABLE |= 0x00080000;
GPIO_FUNCTION |= 0x00080000;
/* ATA controller interface */
IDECONFIG1 = 0x00107000;
IDECONFIG2 = 0x00040000;
#endif
sleeping = false;