On Fri, May 3, 2019 at 12:52 AM Simon Glass <[email protected]> wrote: > > The EFI implementation of reset sits inside the driver and is called > directly from outside the driver, breaking the normal driver-model > conventions. Worse, it passed NULL as the device pointer, hoping that > the called function won't use it, which breaks as soon as code is added > to use it. > > Separate out the implementation to improve the situation enough to allow > a future patch to add new sysreset features. > > Signed-off-by: Simon Glass <[email protected]> > Reviewed-by: Bin Meng <[email protected]> > --- > > Changes in v3: None > Changes in v2: > - Add new patch to separate out the EFI code in sysreset > > drivers/sysreset/sysreset_x86.c | 16 +++++++++++----- > 1 file changed, 11 insertions(+), 5 deletions(-) >
applied to u-boot-x86, thanks! _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

