SUMMARY = "RISC-V Open Source Supervisor Binary Interface (OpenSBI)"
DESCRIPTION = "OpenSBI aims to provide an open-source and extensible implementation of the RISC-V SBI specification for a platform specific firmware (M-mode) and a general purpose OS, hypervisor or bootloader (S-mode or HS-mode). OpenSBI implementation can be easily extended by RISC-V platform or System-on-Chip vendors to fit a particular hadware configuration."
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=42dd9555eb177f35150cf9aa240b61e5"

SRCREV="${AUTOREV}"
SRC_URI = "git://git@gitlab.alibaba-inc.com/thead-linux/d1_opensbi.git;branch=d1-miniapp;protocol=ssh"

COMPATIBLE_MACHINE = "d1"

EXTRA_OEMAKE += "SUNXI_CHIP=sun20iw1p1 PLATFORM_RISCV_ISA=rv64gcxthead"