diff --git a/common/inc/plat/config.h b/common/inc/plat/config.h index de488f0b..832620e6 100644 --- a/common/inc/plat/config.h +++ b/common/inc/plat/config.h @@ -1,6 +1,6 @@ #pragma once -#if defined(PLATFORM_qemu_virt) +#if defined(PLATFORM_qemu_virt) || defined(PLATFORM_qemu_virt_norvc) #include "plat/qemu_virt.h" #elif defined(PLATFORM_qemu_virt4) #include "plat/qemu_virt4.h" diff --git a/common/plat/qemu_virt_norvc.mk b/common/plat/qemu_virt_norvc.mk new file mode 100644 index 00000000..85520ce8 --- /dev/null +++ b/common/plat/qemu_virt_norvc.mk @@ -0,0 +1,7 @@ +export ARCH=rv64ima_zicsr_zifencei +export ABI=lp64 +export CMODEL=medany +export COMMON_INC:=${ROOT}/common/inc +export COMMON_LIB:=${ROOT}/common/build/${PLATFORM} +export STARTFILES:=${ROOT}/common/build/${PLATFORM}/start +PLAT_SRCS=src/drivers/uart/ns16550a.c src/drivers/time.c