On Sat, Apr 11, 2020 at 7:55 AM Atish Patra <ati...@atishpatra.org> wrote:
>
> On Wed, Apr 8, 2020 at 6:42 AM Bin Meng <bmeng...@gmail.com> wrote:
> >
> > U-Boot proper running in S-mode only need SMP support when using
> > SBI v0.1. With SBI v0.2 HSM extension, it does not need implement
> > multicore boot in U-Boot proper.
> >
> > Signed-off-by: Bin Meng <bmeng...@gmail.com>
> > ---
> >
> >  arch/riscv/Kconfig | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
> > index 10478ae..502143f 100644
> > --- a/arch/riscv/Kconfig
> > +++ b/arch/riscv/Kconfig
> > @@ -193,6 +193,7 @@ config SYS_MALLOC_F_LEN
> >
> >  config SMP
> >         bool "Symmetric Multi-Processing"
> > +       depends on SBI_V01
>
> What about RISCV_MMODE ?
Yes this needs to be considered.

>
> >         help
> >           This enables support for systems with more than one CPU. If
> >           you say N here, U-Boot will run on single and multiprocessor

Regards,
Bin

Reply via email to