[PATCH v4 3/3] sysreset: provide SBI based sysreset driver

Bin Meng bmeng.cn at gmail.com
Thu Sep 9 16:16:50 CEST 2021


On Thu, Sep 9, 2021 at 10:14 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Thu, Sep 9, 2021 at 9:11 PM Heinrich Schuchardt
> <heinrich.schuchardt at canonical.com> wrote:
> >
> > From: Heinrich Schuchardt <xypron.glpk at gmx.de>

nits: this From: line is incorrect as it does not match SoB

> >
> > Provide sysreset driver using the SBI system reset extension.
> >
> > Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> > ---
> > v4:
> >         * remove the UEFI SystemReset() implementation
> >         * simplify the code using an array to translate reset types
> >         * remove a superfluos check to determine if the device was probed
> > ---
> >  MAINTAINERS                     |  1 +
> >  arch/riscv/cpu/cpu.c            | 13 ++++++++-
> >  arch/riscv/include/asm/sbi.h    |  1 +
> >  arch/riscv/lib/sbi.c            | 21 +++++++++++---
> >  drivers/sysreset/Kconfig        | 12 ++++++++
> >  drivers/sysreset/Makefile       |  1 +
> >  drivers/sysreset/sysreset_sbi.c | 51 +++++++++++++++++++++++++++++++++
> >  7 files changed, 95 insertions(+), 5 deletions(-)
> >  create mode 100644 drivers/sysreset/sysreset_sbi.c
> >

Regards,
Bin


More information about the U-Boot mailing list