summaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorLukas Auer <lukas.auer@aisec.fraunhofer.de>2019-08-21 22:14:43 +0300
committerAndes <uboot@andestech.com>2019-08-26 11:07:42 +0300
commitfbfd92bf9bdc39d6537806ab58a83a48e5a2c004 (patch)
tree8b4018a4e88bc57278bbc2d01b2cb3b137d55c88 /include/spl.h
parentb83edfbde9a845d47a2766f4677deb336abfa42a (diff)
downloadu-boot-fbfd92bf9bdc39d6537806ab58a83a48e5a2c004.tar.xz
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 <lukas.auer@aisec.fraunhofer.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'include/spl.h')
0 files changed, 0 insertions, 0 deletions