[U-Boot] [PATCH v3 1/3] riscv: Add kconfig option to run u-boot in S-mode
Anup Patel
anup at brainfault.org
Thu Nov 22 04:00:37 UTC 2018
On Thu, Nov 22, 2018 at 3:41 AM Auer, Lukas
<lukas.auer at aisec.fraunhofer.de> wrote:
>
> Hi Anup,
>
> On Wed, 2018-11-21 at 13:47 +0000, Auer, Lukas wrote:
> > Hi Anup,
> >
> > On Wed, 2018-11-21 at 09:11 +0530, Anup Patel wrote:
> > > This patch adds kconfig option RISCV_SMODE to run u-boot in
> >
> > nit: U-Boot (also in the first line of the commit message)
> >
> > > S-mode. When this opition is enabled we use s<xyz> CSRs instead
> > > of m<xyz> CSRs.
> > >
>
> Can you also modify arch/riscv/lib/interrupts.c to test for the
> supervisor instead of the machine timer and external interrupts when
> CONFIG_RISCV_SMODE is set?
>
Sure, will do.
Regards,
Anup
More information about the U-Boot
mailing list