1
0
Fork 0
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:
Catalin Patulea 2007-09-24 21:39:42 +00:00
parent ddee0f16d3
commit 0432157455
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}

View file

@ -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();