summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/gpio
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/block/gpio')
-rw-r--r--src/soc/intel/common/block/gpio/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/gpio/gpio.c b/src/soc/intel/common/block/gpio/gpio.c
index ee91aa6550..d6958b111f 100644
--- a/src/soc/intel/common/block/gpio/gpio.c
+++ b/src/soc/intel/common/block/gpio/gpio.c
@@ -78,7 +78,7 @@ static inline size_t gpio_group_index(const struct pad_community *comm,
}
printk(BIOS_ERR, "%s: pad %d is not found in community %s!\n",
__func__, relative_pad, comm->name);
- assert(0);
+ BUG();
return i;
}