diff options
Diffstat (limited to 'src/cpu/ti/am335x/gpio.c')
-rw-r--r-- | src/cpu/ti/am335x/gpio.c | 4 |
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(®s->oe, bit); + setbits32(®s->oe, bit); return 0; } @@ -60,7 +60,7 @@ int gpio_direction_output(unsigned int gpio, int value) write32(®s->setdataout, bit); else write32(®s->cleardataout, bit); - clrbits_le32(®s->oe, bit); + clrbits32(®s->oe, bit); return 0; } |