On Mon, Jul 22, 2019 at 2:01 AM Lukas Auer
<[email protected]> wrote:
>
> Add two new configurations (qemu-riscv{32,64}_spl_defconfig) with SPL
> enabled for RISC-V QEMU. QEMU does not require SPL to run U-Boot. The
> configurations are meant to help the development of SPL on RISC-V.
>
> The configurations enable RAM as the only SPL boot device. Images must
> be loaded at address 0x80200000. In the default boot flow, U-Boot SPL
> starts in machine mode, loads the OpenSBI FW_DYNAMIC firmware and U-Boot
> proper from the supplied FIT image, and starts OpenSBI. U-Boot proper is
> then started in supervisor mode by OpenSBI.
>
> Signed-off-by: Lukas Auer <[email protected]>
> ---
>
>  board/emulation/qemu-riscv/Kconfig      | 10 ++++++++++
>  board/emulation/qemu-riscv/MAINTAINERS  |  2 ++
>  board/emulation/qemu-riscv/qemu-riscv.c | 17 +++++++++++++++++
>  configs/qemu-riscv32_spl_defconfig      | 11 +++++++++++
>  configs/qemu-riscv64_spl_defconfig      | 12 ++++++++++++
>  include/configs/qemu-riscv.h            | 14 ++++++++++++++
>  6 files changed, 66 insertions(+)
>  create mode 100644 configs/qemu-riscv32_spl_defconfig
>  create mode 100644 configs/qemu-riscv64_spl_defconfig
>

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

Reply via email to