[PATCH 1/1] riscv: enable reset via SBI on PolarFire Icicle Kit

Conor Dooley conor.dooley at microchip.com
Tue Nov 8 15:43:01 CET 2022


On Tue, Nov 08, 2022 at 09:23:19AM -0500, Sean Anderson wrote:
> On 11/8/22 09:16, Conor Dooley wrote:
> > > +CONFIG_SYSRESET_SBI=y
> > 
> > I took a look at the config option, but something seemed odd to me. It
> > says "depends on SBI_V02" but the help text says "version 0.3". I see
> > there's no define for SBI_V03 so I assume that's why there's a mismatch.
> > 
> > I didn't see a comment about it in the commit hence asking. AFAIR, v0.3
> > is the correct version.
> 
> IIRC 0.3 is the same as 0.2 except it was ratified.

Ah I see. Apologies for the noise on that one so, had a quick look on
the riscv-non-isa github but obviously not enough!

Thanks Sean.

> > > config SYSRESET_SBI
> > > 	bool "Enable support for SBI System Reset"
> > > 	depends on RISCV_SMODE && SBI_V02
> > > 	default y
> > > 	select SYSRESET_CMD_POWEROFF if CMD_POWEROFF
> > > 	help
> > > 	  Enable system reset and poweroff via the SBI system reset extension.
> > > 	  The extension was introduced in version 0.3 of the SBI specification.
> 


More information about the U-Boot mailing list