aboutsummaryrefslogtreecommitdiff
path: root/include/chardev
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <dbarboza@ventanamicro.com>2023-05-17 10:57:12 -0300
committerAlistair Francis <alistair.francis@wdc.com>2023-06-13 17:03:56 +1000
commite2fa85f42f0bddcfcb2249b1757a9e1a209ae4e3 (patch)
tree6c6eafbc5a8bcc8168dde750035bd7f98b92b394 /include/chardev
parentf5664064cc808dc5057627fbb0e5d68a394f2fc1 (diff)
target/riscv/cpu.c: validate extensions before riscv_timer_init()
There is no need to init timers if we're not even sure that our extensions are valid. Execute riscv_cpu_validate_set_extensions() before riscv_timer_init(). Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com> Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20230517135714.211809-10-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'include/chardev')
0 files changed, 0 insertions, 0 deletions