diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-02-06 03:00:30 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-02-06 03:00:30 +0000 |
commit | 3a777cd79c1a547e168ac142e58ed79f07daadc3 (patch) | |
tree | 0cf5f766ca9c2a722e13679a28118e2abdd331f6 | |
parent | e085a51b07fc006ca4d6f3c4f3587bcf759d03c3 (diff) | |
download | rockbox-3a777cd79c1a547e168ac142e58ed79f07daadc3.tar.gz rockbox-3a777cd79c1a547e168ac142e58ed79f07daadc3.zip |
iriver: ATA controller register setup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5807 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/drivers/ata.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 4f439895b4..91ebf3fabd 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c | |||
@@ -1371,6 +1371,10 @@ int ata_init(void) | |||
1371 | GPIO_OUT |= 0x00080000; | 1371 | GPIO_OUT |= 0x00080000; |
1372 | GPIO_ENABLE |= 0x00080000; | 1372 | GPIO_ENABLE |= 0x00080000; |
1373 | GPIO_FUNCTION |= 0x00080000; | 1373 | GPIO_FUNCTION |= 0x00080000; |
1374 | |||
1375 | /* ATA controller interface */ | ||
1376 | IDECONFIG1 = 0x00107000; | ||
1377 | IDECONFIG2 = 0x00040000; | ||
1374 | #endif | 1378 | #endif |
1375 | 1379 | ||
1376 | sleeping = false; | 1380 | sleeping = false; |