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:
parent
e085a51b07
commit
3a777cd79c
1 changed files with 4 additions and 0 deletions
|
|
@ -1371,6 +1371,10 @@ int ata_init(void)
|
||||||
GPIO_OUT |= 0x00080000;
|
GPIO_OUT |= 0x00080000;
|
||||||
GPIO_ENABLE |= 0x00080000;
|
GPIO_ENABLE |= 0x00080000;
|
||||||
GPIO_FUNCTION |= 0x00080000;
|
GPIO_FUNCTION |= 0x00080000;
|
||||||
|
|
||||||
|
/* ATA controller interface */
|
||||||
|
IDECONFIG1 = 0x00107000;
|
||||||
|
IDECONFIG2 = 0x00040000;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
sleeping = false;
|
sleeping = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue