On 5/6/19 10:13 PM, Simon Goldschmidt wrote:
[...]
> +static int socfpga_reset_bind(struct udevice *dev)
> +{
> + int ret;
> + struct udevice *sys_child;
> +
> + /*
> + * The sysreset driver does not have a device node, so bind it here.
> + * Bind it to the node, too, so
This moves sysreset support for socfgpa from ad-hoc code in mach-socfpga
to a UCLASS_SYSRESET based dm driver.
A side effect is that gen5 and a10 can now select between cold and warm
reset.
Signed-off-by: Simon Goldschmidt
---
Changes in v2:
- adapt to patch that separates drivers/sysreset
2 matches
Mail list logo