From: Anup Patel Date: Tue, 20 Nov 2018 14:44:16 +0530 Subject: [U-Boot] [PATCH 0/3] RISC-V S-mode support Message-ID: <20181120091419.6575-1-anup@brainfault.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patchset allows us runing u-boot in S-mode. This is particularly useful on platforms where M-mode runtime firmware is an independent firmware and u-boot is used as last stage OS bootloader. The patchset is tested on QEMU in both M-mode and S-mode. Anup Patel (3): riscv: Add kconfig option to run u-boot in S-mode riscv: qemu: Use different SYS_TEXT_BASE for S-mode riscv: Add S-mode defconfigs for QEMU virt machine arch/riscv/Kconfig | 6 ++++++ arch/riscv/cpu/start.S | 31 ++++++++++++++++++++++++++++ board/emulation/qemu-riscv/Kconfig | 3 ++- configs/qemu-riscv32-smode_defconfig | 7 +++++++ configs/qemu-riscv64-smode_defconfig | 8 +++++++ 5 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 configs/qemu-riscv32-smode_defconfig create mode 100644 configs/qemu-riscv64-smode_defconfig -- 2.17.1