summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/common/block/gpio/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/gpio/gpio.c b/src/soc/amd/common/block/gpio/gpio.c
index bc3bcab035..468d7aef70 100644
--- a/src/soc/amd/common/block/gpio/gpio.c
+++ b/src/soc/amd/common/block/gpio/gpio.c
@@ -148,7 +148,7 @@ static void gpio_and32(gpio_t gpio_num, uint32_t mask)
static void gpio_or32(gpio_t gpio_num, uint32_t or)
{
- gpio_update32(gpio_num, -1UL, or);
+ gpio_update32(gpio_num, 0xffffffff, or);
}
static void master_switch_clr(uint32_t mask)