summaryrefslogtreecommitdiff
path: root/src/cpu/ti/am335x/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/ti/am335x/gpio.c')
-rw-r--r--src/cpu/ti/am335x/gpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/ti/am335x/gpio.c b/src/cpu/ti/am335x/gpio.c
index 0b3eae815c..5e3b62a34f 100644
--- a/src/cpu/ti/am335x/gpio.c
+++ b/src/cpu/ti/am335x/gpio.c
@@ -45,7 +45,7 @@ int gpio_direction_input(unsigned int gpio)
if (!regs)
return -1;
- setbits_le32(&regs->oe, bit);
+ setbits32(&regs->oe, bit);
return 0;
}
@@ -60,7 +60,7 @@ int gpio_direction_output(unsigned int gpio, int value)
write32(&regs->setdataout, bit);
else
write32(&regs->cleardataout, bit);
- clrbits_le32(&regs->oe, bit);
+ clrbits32(&regs->oe, bit);
return 0;
}