]> Git Repo - J-u-boot.git/commit
riscv: add run mode configuration for SPL
authorLukas Auer <[email protected]>
Wed, 21 Aug 2019 19:14:43 +0000 (21:14 +0200)
committerAndes <[email protected]>
Mon, 26 Aug 2019 08:07:42 +0000 (16:07 +0800)
commitfbfd92bf9bdc39d6537806ab58a83a48e5a2c004
tree8b4018a4e88bc57278bbc2d01b2cb3b137d55c88
parentb83edfbde9a845d47a2766f4677deb336abfa42a
riscv: add run mode configuration for SPL

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]>
Reviewed-by: Bin Meng <[email protected]>
Tested-by: Bin Meng <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
arch/riscv/Kconfig
arch/riscv/cpu/ax25/Kconfig
arch/riscv/cpu/cpu.c
arch/riscv/cpu/generic/Kconfig
arch/riscv/cpu/start.S
arch/riscv/include/asm/encoding.h
arch/riscv/lib/Makefile
This page took 0.032745 seconds and 4 git commands to generate.