diff options
author | Catalin Patulea <cat@vv.carleton.ca> | 2007-09-24 21:39:42 +0000 |
---|---|---|
committer | Catalin Patulea <cat@vv.carleton.ca> | 2007-09-24 21:39:42 +0000 |
commit | 04321574556bb1f665f3f84815cb43c5d992ec03 (patch) | |
tree | dec444ab9e34e89b6d83824325995d07a4534455 | |
parent | ddee0f16d3960dc90f6a27d361d4c9191d524953 (diff) | |
download | rockbox-04321574556bb1f665f3f84815cb43c5d992ec03.tar.gz rockbox-04321574556bb1f665f3f84815cb43c5d992ec03.zip |
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
-rw-r--r-- | firmware/target/arm/olympus/mrobe-500/ata-mr500.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/olympus/mrobe-500/system-mr500.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/olympus/mrobe-500/ata-mr500.c b/firmware/target/arm/olympus/mrobe-500/ata-mr500.c index 2b018194d2..d860240134 100644 --- a/firmware/target/arm/olympus/mrobe-500/ata-mr500.c +++ b/firmware/target/arm/olympus/mrobe-500/ata-mr500.c | |||
@@ -64,7 +64,7 @@ void ata_device_init(void) | |||
64 | ATA_RESET_DISABLE; /* Set the pin to disable an active low reset */ | 64 | ATA_RESET_DISABLE; /* Set the pin to disable an active low reset */ |
65 | 65 | ||
66 | /* set GIO17 (ATA power) on and output */ | 66 | /* set GIO17 (ATA power) on and output */ |
67 | IO_GIO_BITSET1&=~(1<<1); | 67 | IO_GIO_BITCLR1=(1<<1); |
68 | IO_GIO_DIR1&=~(1<<1); | 68 | IO_GIO_DIR1&=~(1<<1); |
69 | } | 69 | } |
70 | 70 | ||
diff --git a/firmware/target/arm/olympus/mrobe-500/system-mr500.c b/firmware/target/arm/olympus/mrobe-500/system-mr500.c index 4fdfbd03c6..7be44f6242 100644 --- a/firmware/target/arm/olympus/mrobe-500/system-mr500.c +++ b/firmware/target/arm/olympus/mrobe-500/system-mr500.c | |||
@@ -168,7 +168,7 @@ void system_init(void) | |||
168 | IO_INTC_FISEL2 = 0; | 168 | IO_INTC_FISEL2 = 0; |
169 | 169 | ||
170 | /* set GIO26 (reset pin) to output and low */ | 170 | /* set GIO26 (reset pin) to output and low */ |
171 | IO_GIO_BITSET1&=~(1<<10); | 171 | IO_GIO_BITCLR1=(1<<10); |
172 | IO_GIO_DIR1&=~(1<<10); | 172 | IO_GIO_DIR1&=~(1<<10); |
173 | 173 | ||
174 | enable_interrupts(); | 174 | enable_interrupts(); |