1 comment:
File src/soc/intel/alderlake/chip.c:
else if (dev->path.type == DEVICE_PATH_GPIO)
dev->ops = &soc_gpio_ops;
Rather than adding this to every SoC, I think this can be handled within soc/intel/common/block/gpio […]
Ah thanks, that could indeed work - I tried this before but wasn't sure how we get the ops assigned to the right device then. However, I'm unsure if `assert` is a good thing here. Wouldn't that halt the machine on the first device if "halt on assertion fail" is selected? What about a simple `if`?
To view, visit change 48583. To unsubscribe, or for help writing mail filters, visit settings.