diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2007-11-05 15:48:59 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2007-11-05 15:48:59 +0000 |
commit | 2d95fd524db6de67e91024ee4d947a4ee25c43b6 (patch) | |
tree | 035565fa6b5d5cc2012322022c75cca29fe657cc /firmware/target/arm/sandisk/ata-c200_e200.c | |
parent | 560515fba150476815bd5bd165f27dabfdee1c98 (diff) |
Get rid of some more inl/outl and use the new GPO32 define instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15474 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/sandisk/ata-c200_e200.c')
-rw-r--r-- | firmware/target/arm/sandisk/ata-c200_e200.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/sandisk/ata-c200_e200.c b/firmware/target/arm/sandisk/ata-c200_e200.c index a8e1651280..c9f97c0d48 100644 --- a/firmware/target/arm/sandisk/ata-c200_e200.c +++ b/firmware/target/arm/sandisk/ata-c200_e200.c @@ -529,7 +529,7 @@ static void sd_card_mux(int card_no) #ifdef SANSA_E200 if (card_no == 0) { - outl(inl(0x70000080) | 0x4, 0x70000080); + GPO32 |= 0x4; GPIOA_ENABLE &= ~0x7a; GPIOA_OUTPUT_EN &= ~0x7a; @@ -541,7 +541,7 @@ static void sd_card_mux(int card_no) } else { - outl(inl(0x70000080) & ~0x4, 0x70000080); + GPO32 &= ~0x4; GPIOD_ENABLE &= ~0x1f; GPIOD_OUTPUT_EN &= ~0x1f; @@ -554,7 +554,7 @@ static void sd_card_mux(int card_no) #else /* SANSA_C200 */ if (card_no == 0) { - outl(inl(0x70000080) | 0x4, 0x70000080); + GPO32 |= 0x4; GPIOD_ENABLE &= ~0x1f; GPIOD_OUTPUT_EN &= ~0x1f; @@ -566,7 +566,7 @@ static void sd_card_mux(int card_no) } else { - outl(inl(0x70000080) & ~0x4, 0x70000080); + GPO32 &= ~0x4; GPIOA_ENABLE &= ~0x7a; GPIOA_OUTPUT_EN &= ~0x7a; |