Re: [U-Boot] [PATCH v2 2/2] sysreset: add support for socfpga sysreset

2019-05-06 Thread Marek Vasut
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

[U-Boot] [PATCH v2 2/2] sysreset: add support for socfpga sysreset

2019-05-06 Thread Simon Goldschmidt
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