forked from len0rd/rockbox
m:robe 500i port: Fix the way GIOs are cleared
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14845 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ddee0f16d3
commit
0432157455
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ void ata_device_init(void)
|
|||
ATA_RESET_DISABLE; /* Set the pin to disable an active low reset */
|
||||
|
||||
/* set GIO17 (ATA power) on and output */
|
||||
IO_GIO_BITSET1&=~(1<<1);
|
||||
IO_GIO_BITCLR1=(1<<1);
|
||||
IO_GIO_DIR1&=~(1<<1);
|
||||
}
|
||||
|
||||
|
|
|
@ -168,7 +168,7 @@ void system_init(void)
|
|||
IO_INTC_FISEL2 = 0;
|
||||
|
||||
/* set GIO26 (reset pin) to output and low */
|
||||
IO_GIO_BITSET1&=~(1<<10);
|
||||
IO_GIO_BITCLR1=(1<<10);
|
||||
IO_GIO_DIR1&=~(1<<10);
|
||||
|
||||
enable_interrupts();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue