On Mon, Jul 22, 2019 at 2:00 AM Lukas Auer <[email protected]> wrote: > > U-Boot SPL can be run in a different privilege mode from U-Boot proper. > Add new configuration entries for SPL to allow the run mode to be > configured independently of U-Boot proper. > > Extend all uses of the CONFIG_RISCV_SMODE and CONFIG_RISCV_MMODE > configuration symbols to also cover the SPL equivalents. Ensure that > files compatible with only one privilege mode are not included in builds > targeting an incompatible privilege mode. > > Signed-off-by: Lukas Auer <[email protected]> > --- > > arch/riscv/Kconfig | 33 ++++++++++++++++++++++++++----- > arch/riscv/cpu/ax25/Kconfig | 6 +++--- > arch/riscv/cpu/cpu.c | 6 +++--- > arch/riscv/cpu/generic/Kconfig | 2 +- > arch/riscv/cpu/start.S | 6 +++--- > arch/riscv/include/asm/encoding.h | 2 +- > arch/riscv/lib/Makefile | 7 +++++-- > 7 files changed, 44 insertions(+), 18 deletions(-) >
Reviewed-by: Bin Meng <[email protected]> Tested-by: Bin Meng <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

