Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
riscv: virt: Update the configurations
This commit updates the configurations for QEMU RISC-V virtual platform: 1. Enable CFG_RISCV_S_MODE and CFG_RISCV_SBI to run OP-TEE on S-mode and utilize SBI to communicate with M-mode firmware. 2. Do not force CFG_TEE_CORE_NB_CORE and CFG_NUM_THREADS to be 1, since we may run SMP system. 3. Disable CFG_BOOT_SYNC_CPU and CFG_BOOT_SECONDARY_REQUEST, since the boot sequence is controlled by M-mode firmware. 4. Enable CFG_WITH_STAT to build PTA for debug and statistics information. 5. Enable CFG_DT to parse the external DTB passed by M-mode firmware. Signed-off-by: Alvin Chang <alvinga@andestech.com>
- Loading branch information